Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
litespeed_wiki:cache:lscdrupal [2018/12/11 14:34] Jackson Zhang |
litespeed_wiki:cache:lscdrupal [2018/12/11 15:42] Lisa Clarke [Verify/Test if LiteSpeed cache is working or not] Proofreading |
||
---|---|---|---|
Line 38: | Line 38: | ||
* Click **Install**. | * Click **Install**. | ||
- | ===== Verify/Test if LiteSpeed cache is working or not ===== | + | ===== Verify LiteSpeed Cache is Working ===== |
- | You will need to check the response header "X-LiteSpeed-Cache: hit" from browser developer tools to ensure 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: |
- | You can verify a page is being served from LiteSpeed cache through the following steps: | + | - Open the Chrome/Firefox developer tools on a non-logged-in browser and navigate to your site. Open the **Network** tab. |
- | + | ||
- | - Open the Chrome/Firefox developer tools on a non-logged-in browser and navigate to your site. Open the Network tab. | + | |
- Refresh the page. | - Refresh the page. | ||
- | - Click the first resource (this should be an HTML file and the resource's headers should appear) and ensure you can see "X-LiteSpeed-Cache: hit" | + | - 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", refresh the page and check the header again. | + | - If you see ''X-LiteSpeed-Cache: miss'' instead, refresh the page and check the header again. |
- | - If you can not see "X-LiteSpeed-Cache: hit" header and it means LiteSpeed is not working yet/not enable properly yet. Please go back to the above steps to see if any steps missed. | + | - 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===== |