WP-Rocket
-
Hi
We are using WP-Rocket for cahche and Strong testimonials for:
1. Single rotating testimonial on page
2. Single rotating testimonial on side bar using widget
3. Testimonials page https://www.zemaitis-uk.com/testimonials/All are set to random but WP-Rocket is caching so that 1&2 always start/run in the order & testimonials page is always in the same order.
Do you know a way to ensure that they are always random?
WP-Rocket suggested this:
“You can ask a plugin developer if there is any way to use ajax to randomize the output. If not, I can suggest setting up cron to clear the cache of specific pages in a specific time or simply setting a shorter Cache Lifespan, so the cache will be cleared more frequently.”
Setting a shorter cache lifespan and not caching the testimonials page is simple but wondered if you can suggest a better solution?
Thanks.
The page I need help with: [log in to see the link]
The topic ‘WP-Rocket’ is closed to new replies.