Closed (fixed)
Project:
Page Style
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2011 at 05:20 UTC
Updated:
25 Oct 2011 at 14:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedNote, this only seems to be an issue in Chrome.
Comment #2
mrfelton commentedActually, this is completely unrelated to the advagg module. It's todo with having the site cache enabled. With site cache disabled everything works, with cache set to normal or aggressive, it doesn't. It just completely ignores the cookie.
Comment #3
mrfelton commentedAttached is a patch that gets things working with the page cache enabled. The trick is to move some stuff into hook_boot, which is called for cached page loads. In order to make this work, I have to do away with the include files and move code into the main module file, since module_load_include is not available in hook_boot().
Patch isn't perfect as it takes an additional page load for stye changes to take effect, but at least you don't get stuck with some cached pages in one style and others in another.
Comment #4
mikeytown2 commentedlet me know if you need anything from me for advagg.
Comment #5
mrfelton commentedI don't think so Mike, but thanks. This is a problem with the Drupal core cache.
Comment #6
CZ commentedSet the option "Scripting languages" to "Optimized for performance." and test it.
Comment #7
CZ commentedThe patch is a big change and critical. I think it's now good for a release for now.
Comment #8
CZ commentedGood, fixed in the developer version.