Title: Exclude Query Loop Randomisation from Cache
Last modified: November 16, 2024

---

# Exclude Query Loop Randomisation from Cache

 *  Resolved [panomitrius](https://wordpress.org/support/users/panomitrius/)
 * (@panomitrius)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-query-loop-randomisation-from-cache/)
 * I’ve created a page in Bricks Builder with a Query loop, and I wonder how I can
   exclude that query loop randomisation from getting cached. So far I haven’t been
   able to find a solution without excluding the whole page by URL in the ESI. The
   functionality I want to achieve is that the randomisation runs each visit on 
   the page.
    -  This topic was modified 1 year, 6 months ago by [panomitrius](https://wordpress.org/support/users/panomitrius/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-query-loop-randomisation-from-cache/#post-18143666)
 * yes, to do this you will need ESI
 * or use ajax call to update it after page loads

Viewing 1 replies (of 1 total)

The topic ‘Exclude Query Loop Randomisation from Cache’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-query-loop-randomisation-from-cache/#post-18143666)
 * Status: resolved