[wp-trac] [WordPress Trac] #52636: Add proper Cache-Control header to /wp-json REST endpoints
WordPress Trac
noreply at wordpress.org
Wed Feb 24 16:32:30 UTC 2021
#52636: Add proper Cache-Control header to /wp-json REST endpoints
-------------------------+------------------------------
Reporter: isaumya | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: major | Resolution:
Keywords: needs-patch | Focuses: rest-api
-------------------------+------------------------------
Comment (by isaumya):
Thank you so much @TimothyBlynJacobs for informing me about
`rest_send_nocache_headers` filter. I didn't found it after Googling for
many days until I searched exactly for this. So happy to see there is a
filter for it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52636#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list