Hey,

we wanted to be able to warm the caches hub file after creating a new, or updating a existing content.
To be able to do this, we wrote a simple rules integration as a submodule. The submodule contains a small admin interface where the user is able to add a absolute path to his hub file.
After adding the file, the user have to add the new rule action "Execute cache warmer" to its rule and voilà.

Greetings
sg

CommentFileSizeAuthor
cache_warmer_rules_intergration.patch4.96 KBsgurlt

Comments

vacilando’s picture

This is a VERY good try, exactly in the right direction: little config screen for the hub path, and Rules integration for re-caching.

However, it does not seem to work with Cache Expiration (expire) module. If you set page add/update/delete as trigger, Cache Warmer seems to run before expire purges the caches. So in the end when the user comes to the page the cache is cold.

Any ideas / experiences? Perhaps using another trigger would help?