Closed (fixed)
Project:
Front Page
Version:
5.x-1.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2008 at 15:59 UTC
Updated:
17 Apr 2008 at 09:50 UTC
I have a splash page (page-splash.tpl.php) and homepage (
On my Drupal 5.7 live and local site, when I set the caching to 'Normal', clicking any 'Home' links will redirect to the splash page, instead of the node I set in the options. This problem is isolated only on anonymous users only. When logged in, this problem does not occur.
If anyone else has this problem, your are welcome to post your comment. Any help will be appreciated.
Thanks!
Comments
Comment #1
Phillip Mc commentedThe Drupal page cache, when set, applies to anonymous users only. So all registered users are already excluded. That's a drawback if you have dynamic pages, like the front page....and that's why it's working for authenticated users, but, not for anonymous users.
Can I suggest the cacheexclude.module?
That might offer a workaround. there is a
<?php $GLOBALS['do_not_cache'] = 1 ?>command to exclude from cache that maybe should be worked into the front page module, but, I'm not sure how the do_not_cache thing works.I hope that helps
Comment #2
Phillip Mc commentedforgot to mention...you may need to clear out all your cache tables after you install the cachexclude.module before it works properly...i.e. your front page for anon users is already in the cache now.
Comment #3
peps commentedcacheexclude worked for me. Well, thanks for the tip PhilK. :)
Comment #4
Phillip Mc commented