Pagespeed (site caching system) from whois hosting was the reason for this for me. I logged into the clientβs hosting account and disconnected it. The problem was solved, but I also implemented this code, which allowed me to restore the theme registry every time the page was loaded, and this was of great importance. Now css changes instantly. Before the site starts, I will disable this code.
Are you sure you are not going to rebuild the registry so?
To rebuild the theme registry and the .info file during development, add this to your theme template.php file:
<?php if (theme_get_setting('rebuild_registry') && !defined('MAINTENANCE_MODE')) {
And add this to your theme-settings.php theme in your {element_name} function _form_system_theme_settings_alter (& $ form, $ form_state):
<?php $form['rebuild_registry'] = array( '#type' => 'checkbox', '#title' => t('Rebuild theme registry on every page.'), '#default_value' => theme_get_setting('rebuild_registry'), '#description' => t('During theme development, it can be very useful to continuously <a href="!link">rebuild the theme registry</a>. WARNING: this is a huge performance penalty and must be turned off on production websites.', array('!link' => 'http://drupal.org/node/173880#theme-registry')), ); ?>
source share