Hello,
Views are seem to be normally cached into memcache, but when I configured a rule for clearing specific view cache, it didn't work. I retested it with drupal database cache and it was working as expected.
Then I also found out that with enabled memcache, default views "clear cache" button on the /admin/structure/views/settings/advanced page doesn't work neither.
"Clear all caches" button on the performance page works ok, but we need to configure clearing cache for a particular view.
I would appreciate it very much if you could look into this issue.
Many thanks,
Dmitry
Comments
Comment #1
catchPlease try the latest dev, several issues with cache clearing were fixed.
Comment #2
zhgenti commentedHello @catch, just pulled latest revision 57f445, but seems like cache clearing issue is still there. Can't clear views cache with the following code, which is in the cache actions module.
call of this function via devel/php also doesn't clear cache in the memcache bin.
This function, which is supposed to clear cache of particular panel also doesn't work. table is "cache"
Hope this information will help you to fix the issue.
Thanks a lot for your geat efforts on this project.
Dmitry
Comment #3
catchNote that clearing the cache in memcache does not actually empty the bin, it sets a variable that invalidates the cache item, so that the next cache_get() returns FALSE. So if you're trying to inspect what memcache is actually doing to diagnose this, that's not going to work well - you'd be better off checking the 'created' time of cache items from cache_get().
Comment #4
jeffsheltren commentedClosing due to lack of activity, but please re-open if you are still having problems.
Comment #5
szantog commentedThe problem is still exists in the latest dev. Have a view with a simple time based cache, and an action, which clear these caches on voting (by votingapi). Without memcache, cache is cleared as well, if set up memcache, nothing to happen.
What info do you need?
Comment #6
jeremy commentedThere's been a number of fixes made in the past couple of years, affecting cache flushing. Please grab the latest release (7.x-1.4-beta1 or later) and let us know if there's still a problem. I'm unable to duplicate in my testing.