Closed (fixed)
Project:
Render cache
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2014 at 07:41 UTC
Updated:
29 Jan 2015 at 09:09 UTC
Jump to comment: Most recent
Comments
Comment #1
fabianx commentedThere is no cache clearing at all - only if you manually clear caches, will it be emptied (drush cc all, drush updb or running update.php or clearing caches via the web interface).
The reason is that a special hash is generated whenever the important properties of your nodes change, which include the last modified time of the hash.
To illustrate that a good example is the implementation on drupal.org itself:
http://cgit.drupalcode.org/drupalorg/tree/drupalorg/drupalorg.module?id=...
here the user viewing the comment is included in the comments hash that determines the cache id.
This is needed in 7.x-1.x and current 7.x-2.x until proper cache tags are supported, then entity references and other embedded entities will automatically start to work. (hopefully soon)
As for the warm cache:
- There are certain modules that can crawl your site to populate the caches.
You could also put a list of URLs in a txt file and run a wget command after clearing caches.
I hope that helps.
Thanks!
Comment #3
btopro commentedI know this is closed but to OPs cache warming here are two I commonly use for that part
https://www.drupal.org/project/drush_ecl (purely caching the objects, not the rendered output)
https://www.drupal.org/project/httprl_spider (caching objects, then requesting the page via annonymous http call)
Comment #4
fabianx commentedThanks for the comments, BTO!