Forum Moderators: open
If in FF, you select "This Frame > View Frame Info" then hopefully you should see the correct last modified date (for a static HTML page)?
When I run that, and look at page info, it says "Last-Modified Sun, 06 Nov 2005 14:59:42 GMT"
Live HTTP headers shows
HTTP/1.x 304 Not Modified
Whenever you modify the html page, change the last modified too.
<meta http-equiv="Last-Modified" content="Sun, 06 Nov 2005 14:59:42 GMT">
...to explicitly set the last modified date/time of the document I presume.
I have tried this on my local test server and online, with FF and IE and it seems to make no difference to the actual Last-Modified date/time, which is returned in the response headers, which is reported as the Modified date in Page Info and which JavaScript returns as the
document.lastModifieddate/time. I still get the actual modified date of the file? Is this as expected?
Sure, FF lists it in the list of meta tags, but that's about it as far as I can see?!
I have read that SEs will take notice of the
<meta http-equiv="Last-Modified"....tag when indexing pages (perhaps dynamically generated pages), where the actual modified date of the file itself might not have changed? Is this the case?
Either your server software is not transmitting those details (because web caching has been disabled or because you have dynamically-generated pages), or your ISP or other intermediary has disabled caching.
The meta element may be recognized by a browser, but it won't be effective for proxies and user agents which check only the headers and don't analyse the contents of the document.
What software is the server running? Apache or IIS?
Static pages are serverd with last-modified headers, because the modified date is set when the file is saved. [webmasterworld.com]
Microsoft IIS Web Server [webmasterworld.com]
Apache Web Server [webmasterworld.com]