Page cache breaks DHTML menu consistence for annoymous users
heyqule - October 10, 2009 - 23:44
| Project: | DHTML Menu |
| Version: | 6.x-3.5 |
| Component: | User Interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi
DHTML menu is inconsistent when an annoymous user visits a VIEW page and page cache is enabled.
When I visit a page that is built by View, Drupal seems also cache the menu setting for that page.
So when I visit that page again, the menu is rendered using the settings from cache and the cookie's dhtml_menu also gets replaced by the setting from cache.
Example:
Suppose I'm at link page.(Normal-menu.jpg) If I go to one of the cached View page, the menu consistency will break (View-menu.jpg).
I currently have to disable page cache for DHTML menu to work consistently on a production site.
| Attachment | Size |
|---|---|
| View-menu.jpg | 8.39 KB |
| Normal-menu.jpg | 7.69 KB |

#1
This also happens to menu items that link to external pages. DHTML menu works as intended when page cache is disabled or the user is logged in.