Hi, and thank you for this module!

While using the module I noticed that the views caches don't get refreshed if I use custom caching with cacherouter (and I guess its the same for memcache api).

In my case I was using cacherouter with apc as default backend - which resulted in me seeing the same view despite me having altered nodes that were supposed to refresh the views. When I switched the cache back to normal (="db"), the view worked as expected.

As far as I know, any custom cache should work if you use the cache_clear_all()-function, instead of custom SQL-queries.

So, is it that simple, or would it not work? If it is, will there possible be support for cacherouter?

Comments

bibo’s picture

Could someone more knowledgeable comment on the doability of this? Is there a reason why this module couldn't possibly use cache_clear_all() for the cacheclearing? What have I missed?

This module is fantastic anyway, but with APC/Memcache-support it would be really fantastic^2. Or something :)

steven jones’s picture

Status: Active » Postponed (maintainer needs more info)

I don't think we actually attempt to clear the views_cache tables?

Can you point me at the code where we should be using cache_clear_all()?

steven jones’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing as info not privided

pvaling’s picture

Status: Closed (cannot reproduce) » Postponed (maintainer needs more info)

Was wrong cause views_cache_content is not cache system table. issue need to be closed...

pvaling’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)