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. :-) -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson