Firebase Update
This commit is contained in:
13
express-server/node_modules/serve-static/README.md
generated
vendored
13
express-server/node_modules/serve-static/README.md
generated
vendored
@ -5,7 +5,6 @@
|
||||
[![Linux Build][travis-image]][travis-url]
|
||||
[![Windows Build][appveyor-image]][appveyor-url]
|
||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
||||
[![Gratipay][gratipay-image]][gratipay-url]
|
||||
|
||||
## Install
|
||||
|
||||
@ -44,7 +43,7 @@ of the `Range` request header.
|
||||
##### cacheControl
|
||||
|
||||
Enable or disable setting `Cache-Control` response header, defaults to
|
||||
true. Disabling this will ignore the `maxAge` option.
|
||||
true. Disabling this will ignore the `immutable` and `maxAge` options.
|
||||
|
||||
##### dotfiles
|
||||
|
||||
@ -93,6 +92,14 @@ all methods.
|
||||
|
||||
The default value is `true`.
|
||||
|
||||
##### immutable
|
||||
|
||||
Enable or disable the `immutable` directive in the `Cache-Control` response
|
||||
header, defaults to `false`. If set to `true`, the `maxAge` option should
|
||||
also be specified to enable caching. The `immutable` directive will prevent
|
||||
supported clients from making conditional requests during the life of the
|
||||
`maxAge` option to check if the file has changed.
|
||||
|
||||
##### index
|
||||
|
||||
By default this module will send "index.html" files in response to a request
|
||||
@ -249,5 +256,3 @@ function setCustomCacheControl (res, path) {
|
||||
[coveralls-url]: https://coveralls.io/r/expressjs/serve-static
|
||||
[downloads-image]: https://img.shields.io/npm/dm/serve-static.svg
|
||||
[downloads-url]: https://npmjs.org/package/serve-static
|
||||
[gratipay-image]: https://img.shields.io/gratipay/dougwilson.svg
|
||||
[gratipay-url]: https://gratipay.com/dougwilson/
|
||||
|
Reference in New Issue
Block a user