[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
Thu Aug 5 04:21:33 UTC 2010


#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:  HTTP          |     Version:  3.0.1          
 Severity:  normal        |    Keywords:  dev-feedback   
--------------------------+-------------------------------------------------
 First reported in Multisite forum and detailed there:

 [http://wordpress.org/support/topic/cache-control-headers-and-uploaded-
 files-not?replies=5]

 These file type accesses should return 304s according to the rules in
 .htaccess but consistently return 200, showing an incorrect Cache-Control
 header specification, instead of no specification at all--which is still
 undesired.

 This occurs in two 3.0.1 Multisite installs on all blogs, domain mapped or
 not, but does not occur on any other domains on the server or in any other
 file locations in the WP tree (themes, etc.).

 Initially, it was image files that I had identified this on but a
 subsequent check of a CSS file in the files/ location returned the same
 header that is set for (.php|.pl|.cgi) files; same as the image files do.

 Apache 2.2.15, PHP 5.2.13, FreeBSD 7.2-STABLE, MySQL 5.0.90

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14539>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list