First-time visitors and search engine crawlers have no cookies, so they always get the default version of your page. LiteSpeed Cache's Guest Mode serves them a ready-made cached page instantly, and Guest Optimization applies aggressive optimisation only to that first view. Together they can lift PageSpeed scores a lot, but they need testing.
Before you start
- LiteSpeed Cache installed and page caching working (see configuring LiteSpeed Cache).
- For Guest Optimization: your site linked to QUIC.cloud, since it uses online services such as UCSS and critical CSS (see QUIC.cloud basics).
What Guest Mode does
- Visitors without any cookies get a single default cached page, without the plugin checking for variations such as mobile or currency.
- On their first page view, a small script requests the real variation in the background; later pages are served normally.
- Result: the very first page is as fast as possible, which matters for bounce rate and Core Web Vitals.
What Guest Optimization does
- Applies the strongest optimisations, such as UCSS, delayed JavaScript, critical CSS and image placeholders, only for guest views.
- Returning visitors and logged-in users get the normally optimised page.
Enable them
- Go to LiteSpeed Cache → General.
- Set Guest Mode to On.
- Set Guest Optimization to On if you accept a stronger optimisation on first views.
- Save, then Purge All.
Warning: Guest Optimization uses the riskiest settings, such as delayed JavaScript. Test menus, sliders, forms and cookie banners as a first-time visitor in a private window.
When to use them
| Site type | Recommendation |
|---|---|
| Content sites, blogs, landing pages | Good fit; big gains for first visits |
| Shops with currency or language switching by cookie | Test carefully; the first view always shows the default variation |
| Sites with complex JavaScript apps | Guest Mode is usually fine; Guest Optimization often needs exclusions |
Test properly
- Open a private window (no cookies) and load the home page and a key inner page.
- Check that the layout is correct before and after scrolling, and that interactive elements work on first tap.
- Run PageSpeed Insights and compare with your earlier score.
- Check the mobile view; Guest Mode serves the default device variation first.
If something breaks, exclude the script involved (see page optimisation exclusions) or switch off Guest Optimization while keeping Guest Mode.
Troubleshooting
Mobile visitors briefly see the desktop layout
Use a responsive theme, or disable Guest Mode if you serve separate mobile HTML.
Scores improved but users report broken buttons
Delayed JavaScript is waiting for interaction. Exclude the scripts for those buttons. More fixes in LiteSpeed Cache troubleshooting.
Frequently asked questions
Is Guest Mode cloaking?
No. Visitors and search engines receive the same content; only the delivery is faster.
Does Guest Mode work without QUIC.cloud?
Yes. Guest Optimization benefits from QUIC.cloud services, but Guest Mode itself only needs page caching.
Will Guest Mode affect analytics?
Analytics scripts still run. If they are delayed by Guest Optimization, very short visits may be counted slightly differently; exclude analytics from delay if precise data matters.
