Last active
July 10, 2018 11:24
-
-
Save HeahDude/1267f56612ba920bf030101451e722bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user: heah | |
questions: | |
- question: "What keys can be passed to `Response::setCache($array)`" | |
answers: | |
- OK etag | |
- OK last_modified | |
- OK public | |
- OK private | |
- OK maxage | |
- KO smaxage | |
- OK s_maxage | |
- KO expires | |
- OK immutable | |
component: HTTP | |
extra_link: https://github.com/symfony/symfony/blob/4.0/src/Symfony/Component/HttpFoundation/Response.php#L922 | |
- question: "Which status codes allow Symfony to consider a response cacheable ?" | |
answers: | |
- OK 200 | |
- KO 201 | |
- KO 202 | |
- OK 203 | |
- OK 300 | |
- OK 301 | |
- OK 302 | |
- KO 304 | |
- KO 403 | |
- OK 404 | |
- OK 410 | |
component: HTTP | |
extra_link: https://github.com/symfony/symfony/blob/4.0/src/Symfony/Component/HttpFoundation/Response.php#L513 | |
- question: "Is it possible to invalid an `Expires` header?" | |
answers: | |
- OK false | |
- KO true | |
component: HTTP | |
extra_link: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires | |
- question: "Is it possible to invalid a max-age cache control directive?" | |
answers: | |
- KO false | |
- OK true | |
component: HTTP | |
extra_link: https://github.com/symfony/symfony/blob/4.0/src/Symfony/Component/HttpFoundation/Response.php#L678 | |
- question: "Who can handle ESI fragments requests" | |
answers: | |
- KO brwoser | |
- KO proxy | |
- OK reverse proxy | |
component: HTTP | |
extra_link: ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment