• 1. Pages with GET parameters (if “Don’t cache pages with GET parameters” is not checked) are served by legacy caching. Notice: caching these pages are very important because of
    – UTM-parameters are widely used now and there is no reason not to cache pages with just UTM-parameters
    – moreover those GET parameters mean additional SQL logic inside the theme so caching could become critical

    2. Unfortunately mobile device support (even if “Mobile device support”) does not work for legacy checking.

    But there is a simple solution – just add
    add_cacheaction( 'wp_cache_key', 'wp_cache_check_mobile' );
    before
    add_cacheaction( 'supercache_filename_str', 'wp_cache_check_mobile' );
    in wp-cache-phase1.php

    Could I suggest to include this or any other solution for this problem in future release of WP Super Cache?

    https://ww.wp.xz.cn/plugins/wp-super-cache/

The topic ‘Legacy caching: solution for mobile device support’ is closed to new replies.