We have excluded certain URL patterns (which should not be cached, like forum latest post, admin pages, etc) from being cached by LiteSpeed Cache.
If any client faces an issue where LiteSpeed Cache is caching any part of their website which should not be cached, please do get in touch with us to have this worked out.
Disabling LiteSpeed Cache
You may also disable LiteSpeed Cache by either of the following:-
1. On a per-directory basis by adding the following lines to the directory's ".htaccess" file:-
RewriteRule (.*) - [E=Cache-Control:no-cache]
2. Adding the following to the PHP header file:-
('X-LiteSpeed-Cache-Control: no-cache' );
3. Contact us and we can disable it for your domain at the server level.
About LiteSpeed Dynamic Content Cache
LiteSpeed Cache has similar features as Apache mod_cache but implemented in a more efficient way, and works like Varnish.
It is an output cache for dynamic contents, so the usage does not limit to PHP pages.
Unlike Varnish, it is built into LiteSpeed web server, eliminating one layer of reverse proxy. Hence more efficient for static contents.
Monday, December 26, 2011