/ Published in: PHP
Script to clear all Drupal caches from a url (it's bookmarkable)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // save to drupal root directory require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_flush_all_caches(); drupal_set_message('Cache cleared'); drupal_goto(); ?>