Hello,

I'm new here so forgive me if it's not the right place to ask this. And english is not my native language.

I'm completely new to drupal (8) and need to improve. I've never use drupal before so i'm a bit lost.
To understand template system i want to build my own theme to get used to twig logic.

But even before starting i can't success to disable the cache. Everytime i do some change on a template file (like htm--front.hmtl.twig) i have to clear the cache manualy from back-end admin.

I followed several tutorial about it but noone seem to disable the cache :(.

What did i do :

- Went to the sites/default folder and changed several things. Now i have services.yml, settings.local.php settings.php
- Changed config about twig in setting.
- Debug True, Cache false, auto-reload : true
- Changed the settings.local.php files following this guide https://www.drupal.org/node/2598914
- Went to the page when you can clear the cache and unchecked CSS & JS option.

I'm up for any help. I can't even believe there is no a simple "disable cache" option but this is because i'm new to this

Thanks !

Comments

Jeff Burnz’s picture

Yeah its a huge pita, I'm not sure why your settings are not working for you and maybe thats a bug in Drupal core.

I can suggest to use this module: https://www.drupal.org/project/admin_toolbar

It has an option to clear the cache from a drop menu item, like Admin Menu does in D7.