[wp-trac] [WordPress Trac] #37242: Partial updates not updating some server side files date and time.
WordPress Trac
noreply at wordpress.org
Mon Jul 18 04:49:30 UTC 2016
#37242: Partial updates not updating some server side files date and time.
-----------------------------+----------------------
Reporter: mitchellk | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Upgrade/Install | Version: 4.5.3
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-----------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
> I had a problem where my Server Headers (Apache 2.4.7 / Ubuntu 14.04)
were being messed with.
> In particular the Last-Modified server header on my site was returning a
date and time (of all blog posts) to browsers and spiders of Tue, 02 Dec
2014 11:21:14 GMT
This seems like a server misconfiguration or plugin conflict, WordPress
will set the `Last-Modified` date (AFAIK) to that of the latest posts, it
sounds like it was being overridden by Apache or a plugin. (If apache,
probably one of the `Expires` declarations with `text/html` and
`modification` flag set - should probably only apply to .html files, not
.php)
The file modification dates being set to the last time they were modified
(The contents of the files hasn't changed in years) isn't an issue, and
from a perspective of someone maintaining a site and trying to determine
when files were last modified, would be preferable that it's only changed
when the contents of the files changes.
I don't see anything incorrect here, other than your server behaving
badly. I'm marking it invalid as a result of that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37242#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list