WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: W3 Total Cache] No enhanced disk option for page cache (3 posts)

  1. Everton
    Member
    Posted 3 years ago #

    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 (http://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

  2. skippybosco
    Member
    Posted 2 years ago #

    I'm in the same situation, but trying to use WP Super Cache + Lite Speed Cache. Did you ever get your rewrite rules sorted out?

  3. Everton
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic