#11813: Stale caches with trac and transparent proxies
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |          Owner:  mvngu, schilly
       Type:  defect        |         Status:  new           
   Priority:  major         |      Milestone:  sage-4.7.2    
  Component:  website/wiki  |       Keywords:                
Work_issues:                |       Upstream:  N/A           
   Reviewer:                |         Author:                
     Merged:                |   Dependencies:                
----------------------------+-----------------------------------------------

Comment(by vbraun):

 I propose to add the following to the Apache httpd.conf (untested):
 {{{
 <DirectoryMatch ".*/raw-attachment/.*">
   Header set Cache-control "must-revalidate"
   Header set Vary "*"
 </DirectoryMatch>
 }}}
 This should work then for all trac instances running on Sage.

 Also, this shouldn't effect `wget --timestamping` since it only instructs
 the transparent proxy to always check back with the server, but not
 necessarily to download anything except the header.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11813#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to