Jelajahi Sumber

Merge pull request #803 from samal84/patch-1

Slight formatting improvement to static_file_cache_control documentation
bel2125 5 tahun lalu
induk
melakukan
94431fcb12
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  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.
 
 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:
-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.