![]() Multiple directives are comma-separated.Case-insensitive, but lowercase is recommended. ![]() Header typeĬaching directives have the following rules to be valid: A given directive in a request does not mean the same directive should be in the response. If you want to make exceptions for specific locations, you can use a regular location block, which will take precedence over a regex match.The Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses. This is useful for applying general settings for content type. This location block uses a regular expression match, denoted by the ~. max, which will expire when the universe ends, on the 31 of December, 2037.epoch, set to Unix time zero, which will explicitly turn off caching and purge all caches (useful if you’re using NGINX as a reverse proxy). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |