Hi inthemix,
I was curious about this as well and found another thread about it. See if this link helps you out:
w3 Total Cache Syntax for Excluding Pages
You’d have to limit the pages that the banner rotators are on, so they are not cached. Let me know how it works out for you!
Hi Tim,
Thanks for the post and I was actually just reading that post when you made your post 🙂
I don’t think this will work if I can’t show the ads on certain pages since they are all paid. From the looks of the option I can set pages or directories so I tried just excluding the entire image directory that the ads are in but it doesn’t seem to be working.
Am I on the right path here? I wonder if I created a new directory “wp-admin/images/ads/” and excluded that path if it will work.
Thanks,
Jeremy
I think the ‘best practice’ is to serve ads with javascript, and then caching is not a problem.
If you’re serious about advertising you can use a system like Google DFP to take care of all aspects of your advertising, including ad serving, inventory control, and booking:
https://www.google.com/intl/en_US/dfp/info/welcome.html
It is free to use, but the learning curve is quite steep 🙂
I’m sure there must be other solutions available too.
Thanks and I’ll definitely look into DFP.
I was able to add some code from the FAQ to the right PHP template to exclude the sidebar from being cached. So far it’s working out great!
Cheers
Jeremy
Can you use object caching to exclude this from being cached?