Should boost handle client page reload requests (eg Ctrl or Cmnd Shift R in Firefox)?

I think that including this in the anonymous users section of the .htacess rules should do it

RewriteCond %{HTTP:Pragma} no-cache [OR]
RewriteCond %{HTTP:Cache-Control} no-cache [OR]
CommentFileSizeAuthor
#2 boost-646868.patch2.61 KBmikeytown2

Comments

lakka’s picture

In fact, I believe that RFC2616 requires it - see section 14.9.4 under "end-to-end reload"

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new2.61 KB

fairly strong statement

The server MUST NOT use a cached copy when responding to such a request.

seems like your code should do the trick - http://httpd.apache.org/docs/trunk/mod/mod_rewrite.html#rewritecond

Attached is a patch that does this

mikeytown2’s picture

Title: Handle client reload requests » RFC2616 compliance - Handle client reload requests
mikeytown2’s picture

Status: Needs review » Fixed

committed

mikeytown2’s picture

Status: Fixed » Needs work

Add in a setting so one can not be standard compliant if desired (example: site in offline mode).

mikeytown2’s picture

Status: Needs work » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.