Closed (fixed)
Project:
Alternative PHP Cache
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2013 at 16:03 UTC
Updated:
2 Dec 2014 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
twistor commentedDo you have a minimum cache lifetime set?
Comment #2
edgarsg commentedI also had this problem.
When using memcache as cache backend it worked fine - when I saved a node, the page cache was cleared and new version appeared for the anonymous user.
However when changing to apc in settings.php this was no longer happening - the old page was still being served.
drupal_apc_cache.inc:
When $cid is NULL, the function actually does not clear anything.
But according to cache_clear_all() doc:
I'm not that familiar with all this, therefore i am in doubt about 'that can expire' part..
When saving a node, cache_clear_all() is called for cache_block and cache_page bins with $cid=NULL.
However by adding this line to clear(), the page cache is now cleared on node save.:
Is this the correct way to handle this?
Comment #3
mukhsim commented#2 attached as a patch file.
Comment #4
heine commentedComment #6
R.Muilwijk commentedCommitted to dev.