RemarkableCloud

LiteSpeed Web Server: Overview & Caching

How LiteSpeed works on your RemarkableCloud VPS, how LSCache accelerates WordPress and WooCommerce, and the settings that make the biggest difference to site speed.

LiteSpeed is the web server installed on all RemarkableCloud Cloud Cubes in place of Apache. It is a drop-in replacement: reads the same .htaccess files, supports the same rewrite rules, works with cPanel and DirectAdmin without changes: but handles traffic far more efficiently and ships with a built-in page cache that makes WordPress dramatically faster.

LiteSpeed vs Apache

ApacheLiteSpeed
ArchitectureProcess-based (one process per connection)Event-driven (thousands of connections, few threads)
Memory under loadScales linearly with trafficStays near-flat
.htaccess supportNativeFull compatibility
Built-in cacheNoneLSCache: full-page, object, ESI
HTTP/3 (QUIC)Via moduleNative, enabled by default
PHP executionmod_php or PHP-FPMLSAPI: 40-50% faster than FPM

LiteSpeed is pre-installed and active on your Cloud Cube. No configuration needed to get the performance benefits from day one.

How LSCache works

  1. A visitor requests a page
  2. LiteSpeed checks for a cached version
  3. Cache hit: serves cached HTML directly, PHP never runs, database never queried
  4. Cache miss: PHP renders the page, LiteSpeed caches the output, serves it
  5. Every subsequent visitor for that page hits the cache

A cached WordPress page goes from executing 50-200 database queries down to serving a static HTML file.

LSCache for WordPress

Installing the plugin

  • Go to Plugins → Add New in WordPress admin.
  • Search for LiteSpeed Cache and install the plugin by LiteSpeed Technologies.
  • Activate it and go to LiteSpeed Cache → Dashboard.
  • Verify the green "LSCache is active" status. If inactive, go to LiteSpeed Cache → Toolbox → Htaccess Operations → Save Htaccess.
  • Cache tab:

    SettingValue
    Enable CacheOn
    Cache Logged-in UsersOff
    Cache REST APIOn
    Cache Login PageOff

    TTL tab:

    SettingValue
    Default Public Cache TTL604800 (7 days)
    Default Front Page TTL1800

    Purge tab:

    • Purge All on Upgrade → On
    • Auto Purge Rules → check All

    Excludes tab: Add any URLs that must never be cached: checkout pages, cart, account pages, admin-only URLs.

    LSCache for WooCommerce

    WooCommerce requires extra care because cart contents are user-specific. LSCache handles this automatically when configured correctly.

    Go to LiteSpeed Cache → Cache → Excludes → Do Not Cache Cookies and confirm these are present (the plugin adds them automatically):

    woocommerce_cart_hash
    woocommerce_items_in_cart
    wp_woocommerce_session_*

    Exclude WooCommerce pages from cache

    Add to Do Not Cache URIs:

    /cart/
    /checkout/
    /my-account/
    /wc-api/
    /?wc-ajax=

    WooCommerce-specific settings

    SettingValue
    Cache Logged-in UsersOff (essential)
    Object CacheOn
    Cache WooCommerceOn
    Cache CartOff

    Testing the cache

    Check response headers on a product page in browser dev tools → Network tab:

    X-LiteSpeed-Cache: hit     ← served from cache
    X-LiteSpeed-Cache: miss    ← PHP ran (expected for cart users)
    Admin sessions always show cache misses. Open an incognito window with no cookies to test what anonymous visitors see: those should be cache hits.

    Image optimization

    Go to LiteSpeed Cache → Image Optimization and enable:

    • WebP Replacement: serves WebP to supported browsers, JPEG/PNG to others automatically
    • Lazy Load: below-fold images load only when scrolled into view
    • Responsive Images: correctly sized image per device

    Image optimization alone reduces load time by 30-50% for image-heavy sites.

    Troubleshooting

    Pages not caching after install Check .htaccess in your WordPress root for # BEGIN LiteSpeed. If missing: LiteSpeed Cache → Toolbox → Htaccess Operations → Save Htaccess.

    Cache not clearing after publishing Verify Auto Purge Rules in Cache → Purge includes all content types you publish.

    WooCommerce showing wrong cart contents A cart cookie is missing from the exclude list. Check Do Not Cache Cookies includes all woocommerce_* patterns.

    Debugging cache misses Enable LiteSpeed Cache → Debug → Debug Log temporarily to see exactly why requests are not hitting cache.

    Next steps

    Still stuck? Ask a human, we answer in minutes.