Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 15:12 UTC
Updated:
30 Jan 2009 at 14:50 UTC
This is the only module on my site that says it's not compatible with aggressive caching. I would like to understand why that is, and what the potential problems are if I activate aggressive caching anyway.
Is this about updating the sitemap? If yes, I can live with it only being updated once an hour when cron runs. What other problem could there be? I realize it's still a dev version for D6, but it would be great to be able to use the most aggressive performance settings.
Comments
Comment #1
darren ohDrupal lists any module that implements hook_exit() as incompatible with aggressive caching. XML Sitemap uses this hook to ping search engines when the site is updated. However, since caching only affects anonymous users, only updates made by anonymous users (such as anonymous comments) are affected.
Comment #2
eagereyes commentedI see, thanks! Aggressive caching it is, then.
Comment #3
avpadernoThere is no way to say to Drupal if a module is compatible with aggressive caching; Drupal just checks if a module implements some hooks (one of them is
hook_exit()) amd report the modules which implement them to be incompatible with that type of caching.XML Sitemap should not have problems on working with aggressive caching. If you have any problems, just change the type of cache being used.