AJAX/Javascript issue when the cache is enabled
-
Hello,
On the homepage of the site https://weddings-and-events.cdvillas.com, the “Locations” field of the search form is a “select” whose “option”s are generated on the fly after an Ajax request.
When we enable the LiteSpeed cache and clear it, everything works fine for a few hours, then a problem occurs that prevents the field from being built, which breaks the form.If I clear the cache again, everything works for a few hours before the problem comes back.
I added “admin-ajax.php” in “Cache > [4] Exclude > Do Not Cache URIs”, but it didn’t change anything.
There are two things I don’t understand:
- What causes this problem?
- Why does the problem only occur after a few hours?
Do you know what is happening and how I can prevent this from happening?
Thank you,
Eric
The page I need help with: [log in to see the link]
The topic ‘AJAX/Javascript issue when the cache is enabled’ is closed to new replies.