Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cache:lscdrupal [2018/10/11 17:51] Jackson Zhang [Enable LiteSpeedCache lookup by placing the following to .htaccess at Doc_Root] |
litespeed_wiki:cache:lscdrupal [2018/12/11 15:42] Lisa Clarke [Verify/Test if LiteSpeed cache is working or not] Proofreading |
||
---|---|---|---|
Line 37: | Line 37: | ||
* Check the checkbox next to ''LiteSpeed Cache''. | * Check the checkbox next to ''LiteSpeed Cache''. | ||
* Click **Install**. | * Click **Install**. | ||
+ | |||
+ | ===== Verify LiteSpeed Cache is Working ===== | ||
+ | Look for the response header ''X-LiteSpeed-Cache: hit'' in the browser developer tools to verify a page is being served from LiteSpeed Cache. Here's how: | ||
+ | |||
+ | - Open the Chrome/Firefox developer tools on a non-logged-in browser and navigate to your site. Open the **Network** tab. | ||
+ | - Refresh the page. | ||
+ | - Click the first resource (this should be an HTML file). The resource's headers should appear, and ''X-LiteSpeed-Cache: hit'' should be among them. | ||
+ | - If you see ''X-LiteSpeed-Cache: miss'' instead, refresh the page and check the header again. | ||
+ | - If you continue to not see ''X-LiteSpeed-Cache: hit'', it means LiteSpeed is not working or is not enabled properly. Please go back to the beginning and make sure you have carried out each step properly. | ||
=====Configuration===== | =====Configuration===== |