Title: ESI Blocks
Last modified: July 19, 2021

---

# ESI Blocks

 *  Resolved [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/)
 * Hello team LiteSpeed,
 * I really would like to have your help with two ESI blocks. I already contacted
   the theme builder ([https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226](https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226)),
   but they can’t help me, see below response:
 * “I have never studied the code for litespeed so it will be really hard for us
   to study and apply the modifications. I would suggest you talk to the litespeed
   and ask them if they can help or at least share the query argument for this.”
 * I have two blocks which I would like to uncache with ESI, I already tried countless
   times myself, but I really don’t know how to fix it.
 * 1. Similar Listings, these are displayed at the bottom of a Single listing page;
   
   PHP code: [https://paste.ubuntu.com/p/4FQftwwYJR/](https://paste.ubuntu.com/p/4FQftwwYJR/)
 * 2. Listing Feed, these are blocks where you can select in elementor the region
   or category etc.
    PHP code: [https://paste.ubuntu.com/p/KHpg8M8vzg/](https://paste.ubuntu.com/p/KHpg8M8vzg/)
 * Thank you very much!

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14678122)
 * Hi,
 * please check this [page](https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url)
 * Best regards,
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14678191)
 * Hi qtwrk,
 * Have read that one and tested several times, but I’m no coder and even the theme-
   builders forward me to you.
 * I’m lost here and would appreciate your help very much!
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14688281)
 * Hello qtwrk,
 * Could you help me with this?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14691519)
 * Hi,
 * >  I would suggest you talk to the litespeed and ask them if they can help or
   > at least share the query argument for this.
 * please share above document to theme devs , they will know how to ESI-ize them
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14692950)
 * Hi qtwrk,
 * >  I really would like to have your help with two ESI blocks. I already contacted
   > the theme builder ([https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226](https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226)),
   > but they can’t help me, see below response:
   > “I have never studied the code for litespeed so it will be really hard for 
   > us to study and apply the modifications. I would suggest you talk to the litespeed
   > and ask them if they can help or at least share the query argument for this.”
 * I already asked them and also **shared** the documentation files regarding the
   ESI blocks. See above the reply from the theme dev’s.
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14699689)
 * Hello qtwrk,
 * Would really appreciate your help with this.
 * Thank you very much in advance!
 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14702464)
 * Hello [@me77](https://wordpress.org/support/users/me77/)
 * I just checked the code, indeed it is not quite complied with the code examples
   in our docs. E.g., in the example it shows **apply_filters( ‘litespeed_esi_url’**,
   but in the line you apply the filter, you are using ‘mylisting/similar-listings/
   wrapper-class’.
 * Normally this type of debugging is out of free support scope. But if you really
   have a hard time to implement this, we can give you a hand on this. Please create
   a ticket in our system ([https://store.litespeedtech.com/store/submitticket.php](https://store.litespeedtech.com/store/submitticket.php))
   and I will work with you from there.
 * Best regards,
    Abe
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14702553)
 * Hello Abe,
 * Thank you very much!!
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14703236)
 * Hi Abe,
 * For you reference Ticket #182083
 *  Thread Starter [me77](https://wordpress.org/support/users/me77/)
 * (@me77)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14705375)
 * Abe,
 * Have a look at ticket #159334. 🙂
 * Thank you!

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

The topic ‘ESI Blocks’ 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

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

 * 10 replies
 * 3 participants
 * Last reply from: [me77](https://wordpress.org/support/users/me77/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/esi-blocks/#post-14705375)
 * Status: resolved