• I have a problem with exclude, it just does not listen to any slugs I add. I tried with wildcards and even just /* to see if excluding everything would work but it does not. What I want is to exlude /profile/*, /forums/*, /forum/*, and /topic/*. I’v tried all formats I can think of.

    Im displaying caching for logged-in users and Im using ajaxify. I tried to turn both off but it does not work anyway. It really breaks the forum.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi all,

    Unfortunately the fix for the wild card didn’t make it in the last release.
    But it has been approved and will be in the next release.

    I can post the code for the fix here if you are interested.

    Marc

    Ok so in wp-optimize/cache/file-based-page-cache-functions.php and in the method wpo_url_exception_match(), add

    // fix - unescape possible escaped mask .*
    $exception = str_replace('\\.\\*', '.*', $exception);

    before the return statement:

    Marc

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exclude does not work on my site, keeps caching anyway.’ is closed to new replies.