Hi @corey-kretsinger, may I know which button you used for clear a single page cache? Also, can you help me to check does you request header contain Referer when clicking the clear page cache button?
Hi @corey-kretsinger,
I’m going to mark this topic “Resolved,” due to lack of activity.
If you still need help, please provide the previously requested information.
We’ll be happy to reopen the topic if necessary.
Thanks!
Hi,
Apologies. I wasn’t notified of your responses.
I’ve made a video so you can see it as it happens.
https://my.pcloud.com/publink/show?code=XZotPmkZosYkQR5xHjL2cTkTKES6xXAtm5xX
Thanks,
Corey
May I know are you opening the page on new tab/window? Also, LiteSpeed Cache > Setting > Advanced > Instant Click might cause this problem, so if you are using the instant cache, please use the admin panel’s page purge function.
Hi,
Neither of those circumstances apply. I’m not trying to open in a new window and Instant Click isn’t enabled.
Can you create two pages on your server, for example, a.html and b.php.
And then link a.html to b.php by <a href="b.php">. Then print the $_SERVER[ 'HTTP_REFERER' ] on b.php. It used to confirm the HTTP_REFERER is working on your server.
I keep getting a blank page. Not sure if I’m doing it right, but I’ve tried this several different ways now and the second (referer page) keeps coming up blank.
Okay, so I did some more digging and found out that if I add this to pre_main_global.conf, the problem is fixed.
Header set Referrer-Policy "origin"
Thanks for your assistance. 🙂