aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Madura <nmadura@umich.edu>2012-08-29 10:16:45 -0700
committerNathaniel Madura <nmadura@umich.edu>2012-08-29 10:16:45 -0700
commit74d218d39772c66dbbd87774a7201e407574b593 (patch)
tree12d72c11379bc19a6fd122d743315daf0bffc309
parentda85347a06fefb55b1ddb85e44ac621f034af1b3 (diff)
parentfe309b5223972efbbbb25eb3b318e139cae06c95 (diff)
downloadrails-74d218d39772c66dbbd87774a7201e407574b593.tar.gz
rails-74d218d39772c66dbbd87774a7201e407574b593.tar.bz2
rails-74d218d39772c66dbbd87774a7201e407574b593.zip
Merge pull request #110 from nmadura/master
minor update to asset_pipeline docs describing apache config
-rw-r--r--guides/source/asset_pipeline.textile3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/asset_pipeline.textile b/guides/source/asset_pipeline.textile
index 06df428cc3..9c641db964 100644
--- a/guides/source/asset_pipeline.textile
+++ b/guides/source/asset_pipeline.textile
@@ -473,6 +473,9 @@ Precompiled assets exist on the filesystem and are served directly by your web s
For Apache:
<plain>
+# the following requires mod_expires
+# on Ubuntu issue:
+# sudo a2enmod expires
<LocationMatch "^/assets/.*$">
# Use of ETag is discouraged when Last-Modified is present
Header unset ETag