Title: no-cache Header Despite Plugin Enabled
Last modified: June 15, 2025

---

# no-cache Header Despite Plugin Enabled

 *  Resolved [r4yanw1ang](https://wordpress.org/support/users/r4yanw1ang/)
 * (@r4yanw1ang)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/no-cache-header-despite-plugin-enabled/)
 * Hi everyone,
 * I’m having trouble getting **LiteSpeed Cache** to actually cache my WordPress
   site. Despite enabling all the correct settings, my homepage and other pages 
   consistently return:
 * `cache-control: no-cache, no-store, must-revalidate
   x-litespeed-cache-control:
   no-cache
 * What I’ve Done So Far:
    - My server is **LiteSpeed**, confirmed via HTTP response headers.
    - Installed and activated **LiteSpeed Cache plugin**.
    - Enabled all cache options under **LiteSpeed Cache → Cache**.
    - TTL settings are set to default (1 week).
    - Homepage is **not excluded** in any exclusion fields.
    - I verified `.htaccess` includes the LSCache rules.
    - Tested the site using [httpstatus.io](https://httpstatus.io) and [RedBot.org](https://redbot.org)
      in **Incognito mode**.
    - Tried purging cache via LiteSpeed Toolbox.
    - Deactivated all plugins except **LiteSpeed Cache**.
    - Checked for `DONOTCACHEPAGE` in functions.php and plugin files — nothing found.
    - Tried using **Force Public Cache URIs** (`/ 3600`).
    - Maintenance mode is off.
    - Theme is **TravelTour by GoodLayers**.
    - Added this custom code to `functions.php` to override headers:
 * `add_action( 'send_headers', function() {
   header_remove('Cache-Control');header_remove('
   Pragma');header_remove('Expires');header('Cache-Control: public, max-age=3600');},
   100 );
 * Question: Still seeing `no-cache`, and no `x-litespeed-cache: hit`.
 * I feel like I’ve exhausted everything. Is there anything I’m missing?
 * Thanks in advance for any guidance

Viewing 1 replies (of 1 total)

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/no-cache-header-despite-plugin-enabled/#post-18513906)
 * Closing this for double posting. See here: [https://wordpress.org/support/topic/litespeed-cache-not-working-no-cache-header-despite-plugin-enabled-2/](https://wordpress.org/support/topic/litespeed-cache-not-working-no-cache-header-despite-plugin-enabled-2/)

Viewing 1 replies (of 1 total)

The topic ‘no-cache Header Despite Plugin Enabled’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [litetim](https://wordpress.org/support/users/litetim/)
 * Last activity: [9 months, 3 weeks ago](https://wordpress.org/support/topic/no-cache-header-despite-plugin-enabled/#post-18513906)
 * Status: resolved