API Requests of YITH Event Tickets Caching Issue
-
Good day
We use YITH Event Tickets Plugin with a shortcode (check in form page) for Ticket Check In. The check in process does not show updates, when Object Cache of Litespeed Cache Plugin is activated. When a ticket is checked in via the check in shortcode form and the ticket list is updated (either via ajax, or reload of the page), the check in is not reflected in the ticket list on the frontend, or backend (tickets in wp admin). When the button “Purge All – Object Cache” from the LS Cache Plugin is pressed the page reloads (front- and backend) and the list shows the correct data.
The API requests in question are:
– file script-tickets-shortcodes.js, line 168 (/wp-json/yith_event_tickets_for_woocommerce/v1/change_ticket_status/)
– file script-tickets-shortcodes.js, line 207 (/wp-json/yith_event_tickets_for_woocommerce/v1/change_ticket_status/)
– file script-tickets-shortcodes.js, line 303 (/wp-json/yith_event_tickets_for_woocommerce/v1/search_ticket/)
– file script-tickets-shortcodes.js, line 359 (/wp-json/yith_event_tickets_for_woocommerce/v1/load_tickets/)Tested actions to try to resolve the issue, without success:
1. Setting Litespeed Cache->Cache->Cache REST API to OFF
2. Adding the page url with the shortcode (/festival-check-in/) to Litespeed Cache->Excludes->Do Not Cache URIs
3. Adding the before mentioned endpoints to Litespeed Cache->Excludes->Do Not Cache URIsAny help is greatly appreciated, thank you. Thank you.
- The topic ‘API Requests of YITH Event Tickets Caching Issue’ is closed to new replies.