I tried everything to turn the cache off. Even when using drushs command "cr" it does not help.
I used this guide: https://www.drupal.org/node/2598914
I cannot work like this. I also turned on devels theme rebuild on page view feature. Although I don't understand what is meant with this here:
Rebuild the theme information like the registry While creating new templates, change the $theme.info.yml and theme_ overrides the theme information needs to be rebuilt.
Example:
function theme_preprocess_taxonomy_term(&$variables) {
kint("1");
}
When changing the number even "drush cr" does not help. I got to refresh like 4 times until the browser shows the change. Its not like that with kint - also "var_dump()" needs it's 4,5 times.
Could anybody please tell me what to do?
drush cr
clears all the caches in drupal. So assuming you did not break drush or the caching system, it could be local browser cache.