You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: adjust the cache max-age for REST API endpoints, but not the main website, without adjusting the global default.
Potential approach using rest_post_dispatch today is described in the ChatGPT conversation linked in this support topic, this could be simplified with a filter that fires after the default value is set.
The text was updated successfully, but these errors were encountered:
pwtyler
changed the title
Add filter to adjust cache max age for specific paths
[SITE-2506] Add filter to adjust cache max age for specific paths
Oct 17, 2024
Use case: adjust the cache max-age for REST API endpoints, but not the main website, without adjusting the global default.
Potential approach using rest_post_dispatch today is described in the ChatGPT conversation linked in this support topic, this could be simplified with a filter that fires after the default value is set.
The text was updated successfully, but these errors were encountered: