This module works flawlessly for me EXCEPT when I turn on Drupal's basic page caching (under the "Performance" settings). When page cache is enabled, anonymous users will see (seemingly) random parts of the Guidance module instructions on different pages (and starting the guide does not work properly, and the runner will typically disappear after the first step). Obviously, some parts of the instructions and/or runner are being cached and served up to users, regardless of whether they have started the guide. Note that I do NOT have block caching enabled -- this problem is occurring with just page caching enabled.
Any thoughts or ideas on how to make this work for anonymous users with page caching enabled?
Comments
Comment #1
spazfoxAnyone have any thoughts on how to get this to play nicely with page caching enabled? I would be super duper appreciative. Seriously. Super duper.
Comment #2
RobertPope commentedI noticed the first thing this module says is that it only works for users (administrators) I think this might be better placed as a feature request rather than a bug.
As far as getting it to work - hmmm I haven't dove into the code yet - but perhaps it uses the UID to track progress through the steps. Perhaps the code could be reworked a little to use the uid unless anonymous - then use the session ID? maybe that would allow you to use it until you closed your browser....
Comment #3
RobertPope commentedalso you may want to check block caching if you use that approach...
Comment #4
itarato commentedI haven't found better solution than refreshing page cache when using guidance blocks. Changes were committed into the dev version: http://drupal.org/cvs?commit=438954