W3 Total Cache
[resolved] Exclude Directory (2 posts)

  1. staze
    Posted 5 years ago #

    I have a Dokuwiki install that's integrated into WP for authentication. Problem is, it seems to also be causing w3tc to minify and cache said files.

    I can't seem to get w3tc to NOT cache and minify these pages. They're all under /wiki/, but it keeps caching the page, and there doesn't seem to be a way to keep it from minifying the pages (as per:

    <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

    Minified using disk
    Page Caching using disk (enhanced) (request URI is rejected)
    Database Caching using apc (user is logged in)
    Object Caching 178/211 objects using apc

    Served from: http://www.hostname.org @ 2010-10-17 21:55:46 -->)

    The problem is that it's causing the pages to render incorrectly (wrong background color, etc).

    Any thoughts?

  2. staze
    Posted 5 years ago #

    So, I managed to fix the CSS issue by removing the stylesheet from "All Templates". Re-adding it to each specific template would probably resolve this.

    More importantly, seems that HTML minification breaks the wiki since it collapses the newlines between list items, so it creates one big list.

    Would be good to have a way to exclude pages/directories from minification.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic