The default configuration of LiteSpeed Cache greatly improves page load times without requiring any additional changes. It is also the most stable configuration for production websites.
However, additional settings can be tweaked to achieve various goals and performance metrics.
(Optional) Advanced Tuning
The very first visit to your website is not cached (e.g., if a site has no visitors). Once the cache expires, it is regenerated after a visitor visits the site. Subsequent visits from all visitors then see the cached page. The following options help speed up the very first visit, among other things.
The options can be used as an alternative to or in conjunction with the LiteSpeed Crawler.
These are advanced options for experienced users and webmasters. Each of these options can further enhance page load times and page speed scores under different circumstances.
WARNING!
These options can have a negative impact on your website. Do not enable them without fully understanding the pros and cons. Make sure to read the caveats and warnings by visiting the associated links before enabling them:
https://docs.litespeedtech.com/lscache/lscwp/cache/#serve-stalehttps://docs.litespeedtech.com/lscache/lscwp/general/#guest-modehttps://docs.litespeedtech.com/lscache/lscwp/general/#guest-optimization
Serve Stale
Enabling "Serve Stale" can improve TTFB for the very first page view by delivering the stale copy of a cached page to visitors until the cache is (re)generated.
- Log in to WordPress Dashboard.
- Go to LiteSpeed Cache > Cache > Purge.
- Set "Serve Stale" to "ON".
- Save Changes.
- View your website in incognito mode in the browser to check whether it caused any issues.
Guest Mode
Guest Mode serves a cached page for a visitor's first request, improving page load time on their initial visit.
- Log in to WordPress Dashboard.
- Go to LiteSpeed Cache > General > General Settings.
- Set "Guest Mode" to "ON".
- Save Changes.
- View your website in incognito mode in the browser to check whether it caused any issues.
Guest Optimization
Guest Optimization serves a cached page with maximum level of page and image optimization, greatly improving page speed scores, on services like GTmetrix and PageSpeed Insights. It can increase disk usage and Quic.cloud optimization usage.
It might also degrade user experience for human visitors. Check your site in incognito mode in your browser to view it as a first-time visitor after enabling this option.
- Log in to WordPress Dashboard.
- Go to LiteSpeed Cache > General > General Settings.
- Set "Guest Optimization" to "ON".
- Save Changes.
- View your website in incognito mode in the browser to check whether it caused any issues.
