Search engines caching php and html pages

  • Thread starter Luigi Donatello Asero
  • Start date
D

Dave Patton

I wonder whether and how search engines can index php pages.

They can do it, and quite easily, because there is no such thing
as a "php page". Presuming a properly configured server, an
HTTP request for a resource that is a '.php' file will result
in that file being parsed by the PHP preprocessor, which will
output (x)HTML, which is also what happens when a resource is
requested that is a '.html' file.
-- Luigi ( un italiano che vive in Svezia)

Please fix your signature block. It should start
with "-- "(two dashes and a space, without the quotes)
on a line by itself.
 
L

Luigi Donatello Asero

Dave Patton said:
They can do it, and quite easily, because there is no such thing
as a "php page". Presuming a properly configured server, an
HTTP request for a resource that is a '.php' file will result
in that file being parsed by the PHP preprocessor, which will
output (x)HTML, which is also what happens when a resource is
requested that is a '.html' file.


Please fix your signature block. It should start
with "-- "(two dashes and a space, without the quotes)
on a line by itself.


Is the signature block ok now?
 
D

Dave Patton

Is the signature block ok now?

Yes, it is :)

When you use a proper signature block delimiter, good newsreader
software will automatically trim the signature block when someone
replies to your postings.
 
M

Michael Fesser

.oO(Luigi Donatello Asero)
I wonder whether and how search engines can index php pages. Or can they
only save a cache for html pages?

A SE indexes whatever it can get, it doesn't matter how the pages are
generated. But there's a caching issue with PHP by default (affecting
proxy and browser caches).

Cacheable (HTML):
<http://www.web-caching.com/cgi-web-...m/it/temperature-in-svezia-novembre-2004.html>

Not cacheable (PHP):
<http://www.web-caching.com/cgi-web-...om/it/temperature-in-svezia-novembre-2004.php>

Have a look at

Caching Tutorial
http://www.mnot.net/cache_docs/

Micha
 
L

Luigi Donatello Asero

Michael Fesser said:
.oO(Luigi Donatello Asero)


A SE indexes whatever it can get, it doesn't matter how the pages are
generated. But there's a caching issue with PHP by default (affecting
proxy and browser caches).

Cacheable (HTML):
<http://www.web-caching.com/cgi-web-caching/cacheability.py?query=http:/
%2Fwww.scaiecat-spa-gigi.com%2Fit%2Ftemperature-in-svezia-novembre-2004.html


Well, the time which is shown is the one which is valid on that page is the
one which is valid in Italy and not in Greenwich.
(Greenwich Mean Time)
The Time is written in Italian. Should I write "ora italiana" (italian
time)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top