Title: WP Super Cache disable HTML caching
Last modified: August 22, 2016

---

# WP Super Cache disable HTML caching

 *  [Mehedi](https://wordpress.org/support/users/imehedidip/)
 * (@imehedidip)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp-super-cache-disable-html-caching/)
 * I’m trying to create a style switcher using Cookies, JS and PHP. I’m using wp_head
   to add the styles based on an if-else statement. However, as the page’s HTML 
   is being cached, the switcher doesn’t work.
 * Is there anyway I could disable HTML caching on WP Super Cache?
 * Thanks in advance!

The topic ‘WP Super Cache disable HTML caching’ is closed to new replies.

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [wp-head](https://wordpress.org/support/topic-tag/wp-head/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mehedi](https://wordpress.org/support/users/imehedidip/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wp-super-cache-disable-html-caching/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
