Forum Moderators: phranque

Message Too Old, No Replies

Updating last-modified using <meta http-equiv

         

fish_eye

1:17 pm on Dec 6, 2006 (gmt 0)

10+ Year Member



I've been reading here about setting and unsetting etc last-modified using .htaccess but I have not yet found out if I can override / overwrite the last-modified with http-equiv.

Is it possible?

Static content always seems to have last-modified set to the file datestamp and dynamic always has the current datestamp even though the html shows my hacked last modified.

*=======
Background info - I'm using some site scanning software to build a Google xml sitemap and I want to put in the lastmod date when the content was last (really truly) modified. Hence I take the modified date from the source record and write an http-equiv last-modified header.

jdMorgan

2:09 pm on Dec 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Better to use your page-generation script to write an actual Last-modified HTTP response header, in much the same way used to write a redirection response header. <meta HTTP-EQUIV is only interpreted by browsers, and not by the (possibly-many) network, corporate, and private caches located between the visitor and your server, or by robots.

Jim

fish_eye

7:33 pm on Dec 6, 2006 (gmt 0)

10+ Year Member



Thanks Jim, I'll give it a whirl.

Sam (in Sydney... not very active lately)