LiteSpeed Cache Plugin Caching REST API Responses

[ad_1]

On my website, I have a plugin with a library of REST API custom endpoints for accessing data from the website’s database. The endpoints are called from a remote application using CURL. The website also utilizes QUIC.cloud.
Based on a series of tests, I discovered that the API responses were being cached. Even after manually changing the data, the old data was being returned by the API.

On the Cache tab of the LiteSpeed Cache settings, I switched the “Cache REST API” setting to Off. However, further testing proved that the old data was still being returned.

Any thoughts on how to resolve this issue?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer