Openlitespeed Cache

Hi,

I’m a beginner php developer, working on a project.

I want to know can openlitespeed cache be integrated with a custom php script?

If yes please give some tips how i can do it and refer the docs please if possible. I didnt found the docs!

Thank You

If you are writing your own software then here is a very extensive guide to make it compatible with LiteSpeed cache: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide

If you are writing your own software then here is a very extensive guide to make it compatible with LiteSpeed cache: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide

Does this support litespeed only? or openlitespeed is also supported?

If you are writing your own software then here is a very extensive guide to make it compatible with LiteSpeed cache: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide

Does this support litespeed only? or openlitespeed is also supported?

This also works with OpenLiteSpeed, as OpenLiteSpeed have the same LSCache module built in. Just make sure you won’t use ESI feature in your code with OpenLiteSpeed as it is only supported with LSWS Enterprise.

Everything else is the same, WordPress and all LSCache plugins work on the same principles.

It is recommended to read the whole guide, but this one will be of your interest:

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide:response_headers

Make sure to properly tag your cached pages, so you can invalidate them later. if you run into any troubles, feel free to ask.

Hi,

I’m a beginner php developer, working on a project.

I want to know can openlitespeed cache be integrated with a custom php script?

If yes please give some tips how i can do it and refer the docs please if possible. I didnt found the docs!

Thank You

yes, you can use it, in this site: Install and Configure the OpenLiteSpeed Cache Module • OpenLiteSpeed you will find a very good documentation of cache module. Not all the rules for the cache module from the LiteSpeed works in the OpenLiteSpeed, to know that you will have to test it and watch your logs. But in my case i just put the recommendations on the site above and works.