Permalink
Browse files

Mentioning heroku in README.

  • Loading branch information...
1 parent 7500fdb commit 653c22eda1d93bf2f7391d8050f9e54834f8daa3 @augustl augustl committed Sep 18, 2009
Showing with 7 additions and 1 deletion.
  1. +7 −1 README.markdown
View
@@ -76,7 +76,7 @@ More can compress your files by removing extra line breaks. This is enabled by d
Less::More.compression = true
-If you're on a read-only file system, you can turn page caching off and use Cache-Control headers. This option is on by default on heroku.
+If you're on a read-only file system, you can turn page caching off and use Cache-Control headers. This option is on by default on Heroku (see separate section).
Less::More.page_cache = false
@@ -88,6 +88,12 @@ To configure More for a specific environment, add configuration options into the
If you wish to apply the configuration to all environments, place them in `config/environment.rb`.
+Heroku
+======
+
+The plugin works out-of-the-box on Heroku.
+
+Heroku has a read-only file system, which means caching the generated CSS with page caching is not an option. Heroku supports caching with Varnish, though, which the plugin will leverage by setting Cache-Control headers so that generated CSS is cached for one month.
Tasks
=====

0 comments on commit 653c22e

Please sign in to comment.