diff options
author | Emin Hasanov <emin@hasanov.com> | 2011-09-11 03:36:24 -0700 |
---|---|---|
committer | Emin Hasanov <emin@hasanov.com> | 2011-09-11 03:36:24 -0700 |
commit | 715b0996ca9ec8b7e8db614e1aa339b0cfa77a7d (patch) | |
tree | 0fb2f6a070c5ce73160e5bca57262791962f5822 | |
parent | 28e32598b9a99a2e5794e1ee8882ca42746ae513 (diff) | |
parent | 22a4f7e8bd3c70067824945881a61820aad7aff6 (diff) | |
download | rails-715b0996ca9ec8b7e8db614e1aa339b0cfa77a7d.tar.gz rails-715b0996ca9ec8b7e8db614e1aa339b0cfa77a7d.tar.bz2 rails-715b0996ca9ec8b7e8db614e1aa339b0cfa77a7d.zip |
Merge pull request #66 from hasanove/master
typo in asset pipeline guide
-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. |