WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have made changes in my CSS, but it doesn't work. I know it's because of caching from admin panel.

How to clear cache of my WP admin. Is there any method to clear the cache?

share|improve this question
How are you sure that it's because of cache? – Mayeenul Islam Aug 18 '13 at 10:03
Are you sure your browser is not caching the CSS file? – Charles Clarkson Aug 19 '13 at 4:13

Have you looked at WP_Object_Cache?

If you suspect there is unwanted caching happening in the code that generates the admin panel then you might be able to use functions from the WP_Object_Cache to clear it.

WP_Object_Cache is WordPress' class for caching data which may be computationally expensive to regenerate, such as the result of complex database queries.

Try the function wp_cache_flush() which clears all cached data.

share|improve this answer
Please elaborate a bit more, post the relevant code as an example from that link – Pieter Goosen Jun 18 '14 at 9:16

I wonder why not you Googled and solved it first?

Unlike Drupal, WordPress by default doesn't have any Mass-Caching. The problem you are facing is well cited here:

But for a quick check, open the wp-config.php (In the root of your WP installation, where there are three folders: wp-admin, wp-content, and wp-includes present) and check if 'WP_CACHE' is 'true'. Just make it 'false':

define('WP_CACHE', 'false');

Or, you can simply remove the line. (The WP_CACHE is better cited in this article.)

If you are using any plugin for Caching, then the settings panel of the plugin will have a "Clear Cache" button. As per as I know, WP Super Cache Plugin has such button.

share|improve this answer
but i am not using any cache plugin – Niks Niks Aug 18 '13 at 10:00
Check the updated answer. – Mayeenul Islam Aug 18 '13 at 10:02
can you tell me location of file?in which folder ? – Niks Niks Aug 18 '13 at 10:11
wp-config.php - In the root of your WP installation, where there are three folders: wp-admin, wp-content, and wp-includes present. – Mayeenul Islam Aug 18 '13 at 10:15
flase is noy worked – Niks Niks Aug 18 '13 at 10:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.