Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to add a Option field for REST API TTL #198

Closed
wants to merge 3 commits into from

Conversation

eabquina
Copy link

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

Pantheon Automation and others added 3 commits March 13, 2019 03:26
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
@nullvariable
Copy link
Contributor

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

@jspellman814 jspellman814 force-pushed the default branch 4 times, most recently from f1e06b4 to dac1c12 Compare April 27, 2022 00:45
@jazzsequence
Copy link
Contributor

@pwtyler
Copy link
Member

pwtyler commented Aug 30, 2023

Closing in favor of pantheon-systems/pantheon-mu-plugin#24

@pwtyler pwtyler closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants