Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Add note about asset pipeline and CDNs.

Fixes #2468.
  • Loading branch information...
commit e85cb2d3bb95ae5cf2f524ffc6828fd40723c83e 1 parent 4d61d1f
@steveklabnik steveklabnik authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 guides/source/
11 guides/source/
@@ -575,6 +575,17 @@ group :production do
+### CDNs
+If your assets are being served by a CDN, ensure they don't stick around in
+your cache forever. This can cause problems. If you use
+`config.action_controller.perform_caching = true`, Rack::Cache will use
+`Rails.cache` to store assets. This can cause your cache to fill up quickly.
+Every CDN is different, so evaluate how your CDN handles caching and make sure
+that it plays nicely with the pipeline; you may find quirks related to your
+specific set up.
Customizing the Pipeline
Please sign in to comment.
Something went wrong with that request. Please try again.