Ver Fonte

Merge pull request #803 from samal84/patch-1

Slight formatting improvement to static_file_cache_control documentation
bel2125 há 5 anos atrás
pai
commit
94431fcb12
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      docs/UserManual.md

+ 4 - 2
docs/UserManual.md

@@ -622,10 +622,12 @@ Set the `Cache-Control` header of static files responses.
 The string value will be used directly.
 The string value will be used directly.
 
 
 E.g. this config:
 E.g. this config:
-static_file_cache_control no-cache, max-age=31536000
+
+`static_file_cache_control no-cache, max-age=31536000`
 
 
 Will result in this header being added:
 Will result in this header being added:
-Cache-Control: no-cache, max-age=31536000
+
+`Cache-Control: no-cache, max-age=31536000`
 
 
 This will take precedence over the static\_file\_max\_age option.
 This will take precedence over the static\_file\_max\_age option.