Title: LiteSpeed cache issue
Last modified: July 20, 2018

---

# LiteSpeed cache issue

 *  Resolved [Matheus Bavaresco](https://wordpress.org/support/users/genneral/)
 * (@genneral)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/litespeed-cache-issue/)
 * My website have browser cache by LiteSpeed and geopip class ‘geoip-country-*’
   doesn’t work because all page have html cached.
 * I’m showing the cookies only for Europe Union, but to make work i have to check‘
   Add a country-specific CSS class to the <body>-Tag.’ option and it is cached 
   all time.
    -  This topic was modified 7 years, 10 months ago by [Matheus Bavaresco](https://wordpress.org/support/users/genneral/).

Viewing 1 replies (of 1 total)

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/litespeed-cache-issue/#post-10624004)
 * The solution would require a JS API which is currently not finished. Here’s the
   workaround:
    [https://wordpress.org/support/topic/js-api/](https://wordpress.org/support/topic/js-api/)
 * Another solution would be to disable the cache until a certain cookie is set.
   But I have no idea if LiteSpeed is supporting this.
    -  This reply was modified 7 years, 9 months ago by [Benjamin Pick](https://wordpress.org/support/users/benjamin4/).

Viewing 1 replies (of 1 total)

The topic ‘LiteSpeed cache issue’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/litespeed-cache-issue/#post-10624004)
 * Status: resolved