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

CommentFileSizeAuthor
#1 boost-302099.patch3.94 KBmikeytown2

Comments

mikeytown2’s picture

Version: 5.x-1.0 » 6.x-1.x-dev
Category: bug » feature
Status: Active » Needs review
StatusFileSize
new3.94 KB

Going through the 5.x queue looking for stuff; this seems like a good idea. Patch is for 6.x

mikeytown2’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev
Status: Needs review » Active

committed

mikeytown2’s picture

Status: Active » Closed (fixed)

Closing 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.