[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
Mon Aug 16 09:42:09 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   
--------------------------+-------------------------------------------------

Comment(by spherical):

 Replying to [comment:1 andrea_r]:
 > Some additional info:
 >
 > - this seems to be occurring only on subfolder installs, for some
 people.
 > - symptoms are unstyled subfolder blogs because the css file can't be
 found
 > - if that works, the other lingering symptom is media uploads can't be
 found at the rewritten location
 >
 > The general fix has always been to force mod_rewrite to read the
 htaccess file via AllowOverride FileInfo Options but I'm starting to see a
 few cases where that isn't helping any.
 >
 > One user reported WPMU working fine on the server, they tore down the
 install, put in 3.0... and got these symptoms. So we could rule out the
 server there (I think).
 >
 > Hope the additional info helps.

 I'm not seeing how this relates to this problem. First, the situation I am
 reporting is on a subdomain install; not a subdirectory. Second, all of
 the files _are_ being found, no matter where they are. All of the blogs
 _are_ styled. There's no problem with that. In fact, I said in the ticket
 that themes are not affected by this at all. It is the non-respecting
 cache control directives on file types _only in the uploaded files
 location_ that is the problem, here, causing a 200 OK response, where it
 should be a 304 Not Modified because future expires is set for them.

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


More information about the wp-trac mailing list