WordPress icon indicating copy to clipboard operation
WordPress copied to clipboard

Proposal to add a Option field for REST API TTL

Open eabquina opened this issue 6 years ago • 1 comments

For a general use case where a customer wants to set a specific cache TTL for WP REST API endpoints, we add a specific field for the REST API TTL value

Alternatively, we can implement a custom plugin to set specific cache headers for these endpoints too, but that will be covered by another proposal or docs guide

The intention here is to avoid modifying wp-config.php to achieve this, and specifically for those who want to disable cache for

eabquina avatar Apr 10 '19 14:04 eabquina

@eabquina This looks solid to me. Do other plugins like the Fastly plugin cover this feature? Is there still a need for this?

nullvariable avatar Sep 30 '20 13:09 nullvariable