Title: Cache Settings
Last modified: October 4, 2019

---

# Cache Settings

 *  Resolved [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/)
 * Hi
 * We we’ve been using Strong Testimonials plugin [https://wordpress.org/plugins/strong-testimonials/](https://wordpress.org/plugins/strong-testimonials/)
   for some time along with the Litespeed Cache plugin and no problems until recently.
 * All testimonials are set to random: single rotating testimonials on pages, sidebar
   widget and a testimonials page.
 * Everything has worked well for ages until recently. Although the testimonials
   rotate, they now always start on the same testimonial and progress in the same
   order (different for each type of use except testimonials page) i.e. no longer
   random where each would start with a different entry & then rotate randomly
 * This isn’t the case when logged into WP and eventually tracked it down to the
   Litespeed Cache plugin – when disabled, all works OK. No idea what’s changed 
   in either plugin to stop the randomness?
 * Can you suggest settings to change in Litespeed Cache or what to exclude?
 * Many thanks
 * Tony
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-settings%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-11999050)
 * Hi [@tzemaitis](https://wordpress.org/support/users/tzemaitis/), if the content
   is randomly generated by PHP code, it will not change if the pages get cached.
   Do you know is it possible to make the random rendering on frontend?
 *  Thread Starter [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12003906)
 * Hi [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/)
   
   Sorry, no idea. All I know is that it used to show the randomly generated changes
   with Litespeed Cache. No idea what might have changed with either plugin?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12005439)
 * Hi [@tzemaitis](https://wordpress.org/support/users/tzemaitis/), after testing
   the plugin, you may try to use `[esi testimonial_view id="1" ttl="0"]` to make
   the testimonial as a non-cached widget, or you can set the TTL larger to have
   a better performance. (TTL means the time this widget reload a new cache)
 *  Thread Starter [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12005773)
 * Hi [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * I tried using [testimonial_view id=”2″ ttl=”0″] (single page) but that didn’t
   make any difference.
 * Also, cannot find TTL settings in Litespeed Cache or Strong Testimonial settings.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12008355)
 * Hi [@tzemaitis](https://wordpress.org/support/users/tzemaitis/), please check
   have you turned ON `Litespeed Cache Setting > ESI > Enable ESI` and try to purge
   the cache.
 * Also, remember to put `esi` at the start of shortcode like: [**esi** testimonial_view
   id=”2″ ttl=”0″].
 * The ttl is referring to [**esi** testimonial_view id=”2″ **ttl**=”0″] (the inline`
   ttl` number).
 *  Thread Starter [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12009315)
 * Hi stanley@litespeed
 * Thanks, that made it clearer but I’m not sure if I’ve understood all as it didn’t
   work.
 * I turned ON Litespeed Cache Setting > ESI > Enable ESI and then purged ALL.
 * Tried inserting [esi testimonial_view id=”2″ ttl=”0″]
 * Saved, purged & tested in incognito but got error “Testimonial view ”2″ not found”
 * Am I meant to replace “0” with something?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12009913)
 * Hi [@tzemaitis](https://wordpress.org/support/users/tzemaitis/), I still cannot
   see the ESI on your page, could you please [join our Slack channel](https://app.slack.com/client/T3RDNH89L/)
   to discuss?
 *  Thread Starter [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12011807)
 * Hi stanley@litespeed
 * Enable ESI is definitely on.
 * Apologies but never seen slack channel before.
 * How do I join your slack channel?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12011942)
 * Hi [@tzemaitis](https://wordpress.org/support/users/tzemaitis/), [sorry please use this link to join.](https://join.slack.com/t/golitespeed/shared_invite/enQtMzE5ODgxMTUyNTgzLTNiNWQ1MWZlYmI4YjEzNTM4NjdiODY2YTQ0OWVlMzBlNGZkY2E3Y2E4MjIzNmNmZmU0ZjIyNWM1ZmNmMWRlOTk)
 *  Thread Starter [TZAL](https://wordpress.org/support/users/tzemaitis/)
 * (@tzemaitis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12011986)
 * Hi stanley@litespeed
 * Thanks, joined.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12011995)
 * You could find me on `Direct Message (+)` with my name `Stanley Cheung at LiteSpeed`

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

The topic ‘Cache Settings’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 11 replies
 * 2 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/cache-settings/#post-12011995)
 * Status: resolved