Skip to content

Commit

Permalink
Merge pull request #66 from hasanove/master
Browse files Browse the repository at this point in the history
typo in asset pipeline guide
  • Loading branch information
hasanove committed Sep 11, 2011
2 parents 28e3259 + 22a4f7e commit 715b099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/asset_pipeline.textile
Expand Up @@ -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.

Expand Down

0 comments on commit 715b099

Please sign in to comment.