Tell Rack to cache /assets

This commit is contained in:
Seth Vargo 2014-10-06 20:37:07 -04:00
parent 37eb3043f5
commit d62843144e
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ use Rack::Deflater
# to do.
use Rack::StaticCache,
:root => "build",
:urls => ["/images", "/javascripts", "/stylesheets"],
:urls => ["/assets"],
:duration => 2,
:versioning => false