Cache public GET requests to WP API endpoints
-
Working with WP API to fetch posts, I quickly realised that a server-side cache solution for this type of requests would be a great improvement. Actually, the only solution I know is the WP REST API Cache plugin, but it uses transients to store the cached object, which means the use of PHP and database by default.
Caching public GET requests to WP API endpoints is a feature currently discussed in other cache plugins, like WP Super Cache, and I think it would a really nice feature to add to LiteSpeed cache. This way, no matter if you fetch a post as a HTML document or as a JSON document, both documents would be cached and both would be deleted/refreshed in sync.
What do you think about this feature? Is it possible, practical and worth to implement?
- The topic ‘Cache public GET requests to WP API endpoints’ is closed to new replies.