Closed victor-sudakov closed 2 years ago
The documentation at https://roadrunner.dev/docs/http-static is ambiguous: what level should "static" be on, http.static or http.headers.static or http.address.static?
@victor-sudakov I have updated the documentation. If it's not clear from the docs, please, feel free to inspect the full reference https://github.com/spiral/roadrunner-binary/blob/master/.rr.yaml
@victor-sudakov I have updated the documentation.
Looks clean now!
Roadrunner 2.5.3 is configured to insert the
Cache-Control: "public, max-age=700"
header into static responses. Instead, it inserts it into all responses.HTTP session (the second Cache-Control header is generated by the PHP app):
rr config snippet: