diff options
author | Emin Hasanov <emin@hasanov.com> | 2011-09-11 14:18:07 +0600 |
---|---|---|
committer | Emin Hasanov <emin@hasanov.com> | 2011-09-11 14:18:07 +0600 |
commit | 22a4f7e8bd3c70067824945881a61820aad7aff6 (patch) | |
tree | 0fb2f6a070c5ce73160e5bca57262791962f5822 /railties | |
parent | 28e32598b9a99a2e5794e1ee8882ca42746ae513 (diff) | |
download | rails-22a4f7e8bd3c70067824945881a61820aad7aff6.tar.gz rails-22a4f7e8bd3c70067824945881a61820aad7aff6.tar.bz2 rails-22a4f7e8bd3c70067824945881a61820aad7aff6.zip |
Fix typo in "must-revalidate" header name
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index ba48a2196b..211b02b94b 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -282,7 +282,7 @@ When debug mode is off Sprockets will concatenate and run the necessary preproce <script src='/assets/application.js'></script> </html> -Assets are compiled and cached on the first request after the server is started. Sprockets sets a +must-validate+ Cache-Control HTTP header to reduce request overhead on subsequent requests -- on these the browser gets a 304 (not-modified) response. +Assets are compiled and cached on the first request after the server is started. Sprockets sets a +must-revalidate+ Cache-Control HTTP header to reduce request overhead on subsequent requests -- on these the browser gets a 304 (not-modified) response. If any of the files in the manifest have changed between requests, the server responds with a new compiled file. |