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
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.

AttachmentSize
View-menu.jpg8.39 KB
Normal-menu.jpg7.69 KB

#1

heyqule - November 2, 2009 - 19:13
Title:View + page cache = DHTML menu inconsistence for annoymous users» Page cache breaks DHTML menu consistence for annoymous users

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.

 
 

Drupal is a registered trademark of Dries Buytaert.