D
D
Dmitry2013-02-05 12:51:58
PHP
Dmitry, 2013-02-05 12:51:58

How to disable cache in Drupal 7?

I'm trying to create a theme for Drupal, how can I disable the cache during development so that I don't have to always clear it through the admin panel?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2013-02-05
@KenAdams

We managed to achieve this by adding a call to the drupal_flush_all_caches () method to the beginning of the template.php file;

D
Dmitry, 2013-02-05
@KenAdams

there everything is disabled by default, but you still have to clear the cache when editing the theme

H
holyorb2, 2013-02-05
@holyorb2

Here you can disable
SITE/admin/config/development/performance
Aggregate and compress CSS files. - disable this too

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question