Unless I'm missing something, it seems that Boost would play a lot better with caching upstream proxies if it was able to direct HEAD requests to the static files as well as get requests. This way, if a proxy is just trying to check to see whether it needs to refetch the resource cached by Boost, it doesn't hit Drupal instead, where it will get a session cookie and an Expires header from the 1970's....
The change is easy, and seems to be working fine on a high-load setup with a variety of proxies right now (thanks btw, boost is totally saving the day for us!)
Basically just change:
RewriteCond %{REQUEST_METHOD} ^GET$
to
RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$
in the three places it appears in the .htaccess file
Comment | File | Size | Author |
---|---|---|---|
#1 | boost-302099.patch | 3.94 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedGoing through the 5.x queue looking for stuff; this seems like a good idea. Patch is for 6.x
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedClosing all 5.x issues; will only reevaluate if someone steps up #454652: Looking for a co-maintainer - 5.x
Reason is 6.x has 10x as many users as 5.x; also last 5.x dev was over a year ago. The 5.x issue queue needs to go.