Hi, i was asking myself how views cache handle a same view called with different arguments.

Does it create one cache per view and for each different argument value passed ?
I guess maybe it's the difference between cache_views and cache_views_data...

I saw that cache_views_data has a cid field that contains the name of the views and a md5() hash, is it the md5 of the mysql request so that it handles a cache entry per argument value passed ?

Thanks in advance for this info, and thanks for this great swissknife module

Comments

merlinofchaos’s picture

Status: Active » Fixed

The actual query generated is a component of the cache key, which takes into account arguments.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.