• Resolved Bruce

    (@trouthouse)


    We have used the AdRotate Pro plugin for many years and have recently discovered that our banners are not rotating on page refreshes when using certain browsers, reported by a number of our clients. After spending some time troubleshooting, I was able to confirm the following:

    FireFox – banners are rotating on page refreshes and/or browser restarts as expected

    Chrome & Edge – same banners are always displayed regardless of page refresh, forced refresh (CTRL+F5) or browser restart… if we purge all LS caches, banners are switched up but will again display same ones as mentioned

    We are using AdRotate shortcodes to insert banners throughout the website, mostly in the right hand column.

    Is there any way to exclude the AdRotate Plugin from being cached in LS?

    Thank you in advance for your prompt reply,

    Bruce

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, Bruce

    I don’t believe that there is any way, short of custom code, to leave the ads uncached if you are using shortcodes.

    The best way to exclude AdRotate from the cache is to enable ESI (Settings > ESI), serve the ads through AdRotate widgets, and configure the widgets to be ESI widgets.

    Tip: Leaving the ads uncached will slow down your site. This is because PHP must be invoked in order to generate the ads. If you can live with caching your ads for a short time, say 5 or 10 minutes, then that will allow you to serve fully-cached pages to your visitors most of the time. After you enable ESI, the AdRotate widgets will have a new batch of settings that will allow you to choose whether to cache them or not, and for how long.

    I hope this helps!

    Thread Starter Bruce

    (@trouthouse)

    Hi Lisa,

    I implemented the suggestions you made above and it seems to be working using a text widget with AdRotate shortcodes. I set ESI to “public” with a “300” TTL. I may be incorrect, but it appears that this route yields the same results as using the actual AdRotate widgets which I read somewhere may not be the best solution.

    As AdRotate is a very popular plugin, do you guys have anything on the roadmap to work with Arnan towards a solution where the two plugins can be compatible with each other? I noticed he added support for both W3 Total Cache and Borlabs Cache.

    Thanks for the prompt reply!!! 🙂

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, trouthouse

    To my knowledge, compatibility with AdRotate is not currently on the roadmap. However, we are always happy to help a fellow plugin author, if they want to get in touch. We have an API that they might find helpful.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘LiteSpeed and AdRotate Pro’ is closed to new replies.