[development] Dealing with Cache

Nikola Kotur kotnick at gmail.com
Fri Sep 17 18:48:04 UTC 2010


On Fri, 2010-09-17 at 17:49 +0300, blouhwtf wrote:
> 
> I was wondering how you guys are dealing with cache/optimizations on
> your development machine, between drupal cache, panels cache, browser
> cache and other css/js compression settings etc.. I've found it
> difficult to deal with all of them.

I usually use clear_cache_all() function to clear specific cache I'm
working all. Not using cache at all is a waste of time, especially
regarding menus, that can grow in some projects.

So, when I work on forms, I put this:

cache_clear_all(NULL, 'cache_form');

Just after bootstrap in index.php.

Otherwise, 'drush cc all'.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100917/a7a07a2c/attachment.html 


More information about the development mailing list