Permalink
Browse files

Merge pull request #14737 from nickborromeo/disable-asset-cache-docs

Disable assest cache store in docs [ci skip]
  • Loading branch information...
2 parents 2c21e6a + 0debba8 commit 4baa866e35a2c08aa236ac83c061e3343e951a49 @arthurnn arthurnn committed Apr 13, 2014
Showing with 8 additions and 0 deletions.
  1. +8 −0 guides/source/asset_pipeline.md
@@ -1041,6 +1041,14 @@ cache store.
config.assets.cache_store = :memory_store, { size: 32.megabytes }
```
+To disable the assets cache store:
+
+```ruby
+config.assets.configure do |env|
+ env.cache = ActiveSupport::Cache.lookup_store(:null_store)
+end
+```
+
Adding Assets to Your Gems
--------------------------

0 comments on commit 4baa866

Please sign in to comment.