Needs review
Project:
Boost
Version:
7.x-1.x-dev
Component:
Apache integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 08:33 UTC
Updated:
1 Nov 2012 at 14:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedComment #2
mikeytown2 commentedCommitted the bug fixes; here is just the experimental part
Comment #3
mikeytown2 commentedOnly needed to comment out one line
Comment #4
mikeytown2 commentedLet browser keep for 5 seconds; no need to ask again for 304. - eventually make this configurable... something to do with min cache lifetime; set the max to 15 minutes as setting this too high can be very dangerous, but having this set is very powerful in terms of sites speed. Ctrl-F5 will bypass this.
unset Last-Modified header.
Comment #5
mikeytown2 commentedand we are back to #3
Comment #6
mikeytown2 commentedReports have been good. Going to add this in soon.
Comment #7
bgm commentedMarked #982212: Cache-Control no-store, no-cache in Headers. Why? as a duplicate of this issue.
Comment #8
mgiffordThere's a discussion going on about ETags in Core now #1573064: Remove unique ETag hack as it is no longer necessary
I'd think this is the defined best practice - http://developer.yahoo.com/performance/rules.html#etags
Comment #9
bgm commentedInteresting!
I think that in Boost we can rely on ETags generated by Apache, either from the filesystem inode, or the mtime (depending if in a cluster or not), since the cache is on the filesystem (unlike Drupal core).
If we rely on etags and do not impose "must-revalidate", we need to make sure that after a user login, the browser does not still serve pages from its cache, otherwise users have to reload each page after login.
Moving issue back to "needs review" since we should do more testing before committing this.