Title: Security header ls cache hostinger
Last modified: May 15, 2024

---

# Security header ls cache hostinger

 *  Resolved [bbgora](https://wordpress.org/support/users/bbgora/)
 * (@bbgora)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/)
 * Hi,
   I encounter a problem with the security headers which disappear when purging
   with litespeedcache, the lines of code in the htaccess are still there, but seem
   to be ignored after a cache purge, (test securityheaders.com from A+ to D) c 
   is quite annoyed because you have to delete them and re-paste them each time 
   you empty the cache, is there a setting to make to resolve this (hosting hostinger
   support contacted found nothing abnormal on the site or in htaccess)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/#post-17759581)
 * I never knew cache will touch the header , please provide the report number ,
   you can get it in toolbox -> report -> click “send to LiteSpeed”
 *  Thread Starter [bbgora](https://wordpress.org/support/users/bbgora/)
 * (@bbgora)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/#post-17760182)
 * Until recently I hadn’t had any problems, it’s probably linked to updates, I 
   noticed the same problem on sites with Wp Rocket…
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/#post-17760205)
 * from my knowledge , our plugin does not modify any http response header , only
   gives out few of our own as `x-litespeed-cache-control`for cache purpose
 * if it happens on other cache plugin as well , then I think it should be something
   else rather than cache plugin related.
 *  Thread Starter [bbgora](https://wordpress.org/support/users/bbgora/)
 * (@bbgora)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/#post-17760267)
 * maybe it also depends on the hosts, some are hostinger, other Infomaniak; for
   example, I replaced wp rocket with swift on a site where I had this problem and
   the security headers were ok again afterwards, I admit that it’s quite incomprehensible,
   a friend told me to check the position of the headers in htaccess, I reinstated
   them in the first lines also on lite speed sites, I will do tests again in the
   coming days

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Security header ls cache hostinger’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [bbgora](https://wordpress.org/support/users/bbgora/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/security-header-ls-cache-hostinger/#post-17760267)
 * Status: resolved