• Resolved bbgora

    (@bbgora)


    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

    (@qtwrk)

    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

    (@bbgora)

    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

    (@qtwrk)

    from my knowledge , our plugin does not modify any http response header , only gives out few of our own as x-litespeed-cache-controlfor 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

    (@bbgora)

    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.