Forum Moderators: open

Message Too Old, No Replies

Last-Modified

using meta tags to show a page as updated

         

klauslovgreen

11:19 am on May 8, 2003 (gmt 0)

10+ Year Member



Hi,

I tried playing around with:

<META NAME="Last-Modified" CONTENT="Thursday, May 08, 2003 15:20:00 GMT">

On Dynamic pages - but it does not seem to work - any suggestions?

Klaus

DaveN

11:21 am on May 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



on what server?

Dave

klauslovgreen

11:27 am on May 8, 2003 (gmt 0)

10+ Year Member



Linux - Apache - sorry should have mentioned

Klaus

jdMorgan

12:51 pm on May 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Klaus,

If this technique is going to work, I suspect you'll need to use <HTTP-EQUIV> type declarations, rather than <META NAME>.

Apache sets the Last-Modified record in the HTTP response header automatically. If you wish to override the info it sends for Last-Modified, try mod_headers [httpd.apache.org]. If you wish to generate your own HTTP headers, try mod_asis [httpd.apache.org].

HTH,
Jim

AthlonInside

1:02 pm on May 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why would you need to have a last update date if it is really a dynamic genarated page?

My entire site has .php as extension and Google just like them. :)

klauslovgreen

1:22 pm on May 8, 2003 (gmt 0)

10+ Year Member



I wanted to reduce bandwidth ref. Googleguy's suggestion - my pages are perl generated - and I was just wondering if there was an easy way of setting last modified using a tag in html rather than getting into mod_header etc..

Guess not..

Cheers
Klaus

klauslovgreen

1:29 pm on May 8, 2003 (gmt 0)

10+ Year Member



It seems this might work:

<meta http-equiv="Last-Modified" content="Thu, 08 May 2003 14:00:00 GMT">

However is there a standard for the date/time format and if so is the above correct?

Klaus