Caching responses to POST requests
By default, Fastly does not cache responses to POST requests. But you can enable this if you wish.
VCL
Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):
Compute
Use this solution in your Compute service:
- Go
- JavaScript
- Rust