• Resolved Everton

    (@everton)


    Hi

    I’ve only just realised I should be using Disk Enhanced for my Page Cache, rather than APC. But, the option is not available – just Disk Basic. Why is it missing please?

    My setup:

    – Litespeed
    – W3TC
    – all caches set to APC at the moment
    – Amaazon Cloudfront CDN mirror

    Also, is there anyway to use litespeed cache with W3TC, or is support in the pipeline like you’ve added Varnish Support? Or, do I just need to add/edit these rewrite rules (https://www.litespeedtech.com/support/forum/showthread.php?t=4719) to get Litespeed to respect W3TC settings:

    RewriteEngine On
    ## cache should be available for HEAD or GET requests
    ?RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
    ## select which pages to cache
    RewriteCond %{HTTP_COOKIE} page_contain_cachetoken=yes
    # with other condition
    ?RewriteCond %{QUERY_STRING} !s=[a-fA-F0-9]{32}
    ?# excluding certain URLs
    RewriteCond %{REQUEST_URI} !/(login|register|usercp|private|profile|cron|image) \.php$?
    # cache for 2 mins for php pages only
    RewriteRule /(.*\.php)?$ – [L,E=Cache-Control:max-age=120]

    # for those not met above condition, enable private cache.
    RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
    ## select which pages to serve from private cache
    RewriteCond %{HTTP_COOKIE} !page_contain_cachetoken=yes
    # with other condition
    ?RewriteCond %{QUERY_STRING} !s=[a-fA-F0-9]{32}
    ?# excluding certain URLs
    RewriteCond %{REQUEST_URI} !/(login|register|usercp|private|profile|cron|image) \.php$?
    # private cache for however long set in cache policy for php pages only
    RewriteRule /(.*\.php)?$ – [L,E=Cache-Control:private]

    Thanks in advance for any help

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: W3 Total Cache] No enhanced disk option for page cache’ is closed to new replies.