Separated cache based on value from PHP
-
Hello,
I have custom 404 pages but they are almost same size as standard page. Bots crawl some archive that don`t exist and my server is using much more bandwidth. I want to detect if request is robot and pass some header via PHP. Then Litespeed cache should give my empty page to robots and real one to real visitors.
How i can make this?
So far, i made my function is PHP to detect if is robot on 404 requests.
What is next?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Separated cache based on value from PHP’ is closed to new replies.