How to clear Drupal 8 cache without using drush command or admin login

To clear Drupal 8 cache without using drush command or admin login

Method 1

Open setting.php ( sites/default/setting.php) add below line

$settings['rebuild_access'] = TRUE; 

run  https://wwwyourdomaincom/core/rebuild.php  from your browser   
it is the eeasiest methods to clear Drupal 8 cache without using drush command or admin login

Method 2

Open phpmyadmin and clear all cache table from your Drupal 8 database

TRUNCATE cache_config;
TRUNCATE cache_container;
TRUNCATE cache_data;
TRUNCATE cache_default;
TRUNCATE cache_discovery;
TRUNCATE cache_dynamic_page_cache;
TRUNCATE cache_entity;
TRUNCATE cache_menu;
TRUNCATE cache_render;
TRUNCATE cache_toolbar;

Leave a Reply

Your email address will not be published. Required fields are marked *