On Friday 29 February 2008, Jonathan Hedstrom wrote:
Larry Garfield wrote:
The exception is cache_views, which in D5 does not rebuild-on-demand but only on certain events, such as adding a module or clicking the "clear views cache" button on the Tools tab of the Views admin page. Don't clear that one manually unless you really know what you're doing. :-)
I'm not positive on this, but from what I can tell, the views cache isn't a special case, and using that tool simply empties out the table like any other cache clearing operation (via cache_clear_all).
-Jonathan
I spoke with Earl Miles about it the other night, and I did misspeak. The views cache will rebuild itself if it is empty; however, if it has only some records in it then it will not auto-rebuild except in certain situations. It's all or nothing, really.
So yes, just truncating all cache_* tables is safe to do. :-)