• Resolved Tim

    (@timstl)


    Hello,

    I’m working on configuring AdRotate to work with W3 Total Cache. I’ve followed the guide and triple-checked the settings, but ads still aren’t rotating on page refresh.

    I’ve tried disabling Browser Caching and Minify so only Page Caching (disk: basic) is enabled, but no luck.

    The problem is happening with both AdRotate blocks and ads inserted via PHP.

    I know this is a bit of a shot in the dark, but are there any common server-side configurations that could cause AdRotate not to work with W3 Total Cache? I’m currently running on localhost using the official WordPress Docker image.

    Or are there any suggestions on how to debug this?

    Thanks,

    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    PHP Snippets are not included in fragmented caching, you have to wrap the snippet in the exclusion code yourself.

    Blocks should do that for you, just like Shortcodes, automagically. But I’ll check and add it to the next version if it isn’t.

    Thread Starter Tim

    (@timstl)

    Hi Arnan,

    Thanks for clarifying. I can confirm adding the mfunc exclusion code fixed caching in the template files.

    Tim

    Plugin Author Arnan de Gans

    (@adegans)

    It looks like Blocks do not take advantage of the caching feature. I’ll update the plugin to include that for the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘W3 Total Cache compatibility issue’ is closed to new replies.