Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Offshoot from #345984: Client-side caching of administration menu:
Avoid separate AJAX requests for clients that don't have a cache (or disabled cache). (Failsafe measures)
Comments
Comment #1
sunComment #2
sunComment #3
sunActually, I never ran into this issue.
Comment #4
Fidelix CreditAttribution: Fidelix commentedI did.
I activated Devel memory consumption output, and I get it two times.
Then, I edited function _drupal_bootstrap_page_header(), and did a var_dump of $_SERVER.
This is the querystring:
["QUERY_STRING"]=> string(56) "q=/js/admin_menu/cache/2e48b65cabaf285c9887325703a5acf1&"
Comment #5
Elijah LynnI just went through this in #1897362: Admin_menu 'Cache menu in client-side browser' generates a second page request. and pressing F5 in a browser will cause a second cache validation request and the response will be a lightweight 304 Not Modified served from Drupal Cache. However, if you just press enter in the address bar then you will get a 200 OK (served from browser cache). Are you still experiencing this?
I am suspecting this isn't an issue anymore and this can be closed.
Comment #6
markhalliwellClosing as a likely duplicate of this related issue.