• Resolved Mikko Saari

    (@msaari)


    When using Zero Spam to block spammers from my site, LiteSpeed Cache occasionally caches the 403 Forbidden page Zero Spam shows to blocked users and shows it to users who should be allowed on the site. The problem goes away when I purge the LS caches.

    The Zero Spam 403 page has these cache controls set:

    header( 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0' );
    header( 'Cache-Control: post-check=0, pre-check=0', false );
    header( 'Pragma: no-cache' );

    Why is LiteSpeed Cache still caching this 403 page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    because it doesn’t care about cache-control header , no matter what value that is

    you can try go to Cache -> TTL -> Default HTTP Status Code Page TTL , add 403 1 , this will cache 403 for one second, which is essentially close to as no-cache

    Thread Starter Mikko Saari

    (@msaari)

    Thanks, I’ll give that a go.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incompatibility with Zero Spam’ is closed to new replies.