1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP Super Cache - Exclude XenForo

Discussion in 'General XenForo Discussion and Feedback' started by LPH, Jan 17, 2012.

  1. LPH

    LPH Well-Known Member

    I'm sorry if this was obvious to many people but it took me a few hours to figure out- and hopefully I have things set properly.

    Purpose
    The WordPress blogs should be cached with WP Super Cache but not the forums because the sites use the Xenscripts bridge.

    File Locations
    WordPress 3.3.1 Multisite in root
    XenForo in /community
    XenScripts bridge (not compatible with caching)

    Procedure
    I downloaded and installed the latest development version. Under the advanced settings tab [wp-admin/network/settings.php?page=wpsupercache&tab=settings], locate the place to add strings to exclude URLs (near bottom of the page), enter your relative path to the forums.

    Verification
    In checking the source after browsing to the pages, the blogs are being cached but the forums are not.

    Please let me know if you agree, if this is helpful, or if you see a way to improve the steps. Maybe you know a better way to make sure the forums are not cached by WP Super Cache.
    Andy.N and Digital Doctor like this.
  2. Andy.N

    Andy.N Well-Known Member

    Good stuff. I'm still waiting for W3TC to work with Xenscript.
  3. Digital Doctor

    Digital Doctor Well-Known Member

    lph uses xenscript's WP XF bridge :)
  4. Andy.N

    Andy.N Well-Known Member

Share This Page