Enable litespeed cache in a php file

Lauren

LiteSpeed Staff
Staff member
#3
First of all, you need to make sure that your license has LSCache module included.
You can download our LSCache for WordPress and check how to use LSCache control.
Basically, it is X-LiteSpeed-Cache-Control: public, max-age=10. It also allows tags and purge by tags. We'll publish a developer guide of LSCache later.
What webapp are you working on?
 
Top