Wordpress LScache Plugin: ESI not working for a shortcode inside an Elementor popup
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have this website built with Elementor, where I placed a booking form from Bookly plugin inside a popup. The popup appears when you click on Buscar por fechas button on the left. Then you can find a boat to rent. Select a service, a date and youll be prompted with the boat you can rent. But then you decide to close the popup without booking the boat. And then again open the form using the Buscar por fechas button (without reloading the page), choose a service and date again? both the previous search and current search are shown. The shortcode is properly esied with a ttl of 0, but its still caching. I know it is a caching issue because outside the popup I can solve it uncaching the page, but inside the popup it doesnt work. Any ideas? The page I need help with: https://enjoyboat.es/barcos Hi, Could you please state the exact steps for how to reproduce it ? I tried to buscar por fechas and randomly click around , but I see different result on each test or which part you see cached result ? Best regards, Your screenshots is showing cached results. Every search should show results for that search only, not the previous one. In your screenshot it shows availability for two different boats in two different dates because you did the search twice (closed popup and clicked search again). But it should only show the last search so its caching and adding up the results. If I put that same form outside of a popup, I have no problem if I add the page to cache exclusion, but it doesnt work adding the page to cache exclusion with the popup so I tried ESI exclusion, also without success? I hope I could explain better this time. Thank you! Hi, OK , please forgive my bluntness which part of my screenshot is cached ? thats the part I dont get it , because I am seeing different date/time price and location. or , please explain : what is the steps I have to do and what is expected result/behave , and what is currently , unexpected result/behave ? Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. Best regards, Sorry @CacheCrawler I had a high load lately and kind of forgot about this topic. I try to explain again: Your screenshot is cached because the search should only show ONE DATE, ONE BOAT AT A TIME. The plugin is not supposed to give you more than 1 option to book. So in your screenshot is showing accumulated results: Expected behaviour: Make a search and show one result. Close popup. Make a search again for the same or a different date and show only the result of the current search (one result). Close popup. Make a search again and show ONLY ONE result again. What really happens: Make a search and show one result. Close popup. Make a search again and show the last result + the current search result. Close popup. Make a search again and show the 2 previous results + the current search result. It is cached because every time you make a search you get the current result + the previous results. If you close popup 10 times, you get 10 results + current result which is not expected behaviour. I moved the form from the popup to the bottom of the page (same link) and now you can test the expected behaviour, because the ESI is perfectly working there outside a popup. Hope I could explain this time? Thanks Reason: changed website functionality to show you the correct behaviour
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference