Set disabled cache but it's not working
In /sites/default/settings.local.php make sure you have
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';

You need to go to /sites/development.services.yml and turn off Twig's cache by adding
Parameters:
    twig.config: { debug: true, auto_reload: true, cache: false }

This is what mine looks like:
# Local development services.
#
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
    twig.config: { debug: true, auto_reload: true, cache: false }
    http.response.debug_cacheability_headers: true
services:
  cache.backend.null:
    class: Drupal\Core\Cache\NullBackendFactory

For more info, see Disable Drupal 8 caching during development