Drupal – clear cache
     发布在:PHP      浏览:35      评论:0 条评论

Using the administrative interface to clear the cache

  1. Navigate to Configuration > Development > Performance
  2. Click Clear all

Using the rebuild script

  1. Add this line to the end of settings.php and save it:
$settings['rebuild_access'] = TRUE;
  1. Visit https://www.example.com/core/rebuild.php in your browser.

  2. Remove $settings['rebuild_access'] = TRUE; in the settings.php and save.

Using Drush to rebuild or clear the cache

# clear all cache
> drush cache-rebuild
# or clear specified cache
> druch cc
    Responses