[wp-trac] [WordPress Trac] #14539: Cache-Control / Expires headers not applied to files in Multisite files location
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 4 04:25:06 UTC 2012
#14539: Cache-Control / Expires headers not applied to files in Multisite files
location
--------------------------+------------------------------
Reporter: spherical | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.0.1
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Comment (by GaryJ):
I'm explicitly setting a `access plus 1 year` ExpiresByType header for
`image/*` (also does the same with `image/jpeg`) yet a file being served
from `/files` has an Expires header well beyond that (and in fact, breaks
RFC specs because of it):
{{{
Date:Sat, 04 Feb 2012 04:19:29 GMT
Expires:Mon, 06 Apr 2015 14:06:09 GMT
}}}
.jpg and other images served from the theme folder have a correctly set
Expires header.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14539#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list