Tell Rack to cache /assets
This commit is contained in:
parent
37eb3043f5
commit
d62843144e
|
@ -12,7 +12,7 @@ use Rack::Deflater
|
|||
# to do.
|
||||
use Rack::StaticCache,
|
||||
:root => "build",
|
||||
:urls => ["/images", "/javascripts", "/stylesheets"],
|
||||
:urls => ["/assets"],
|
||||
:duration => 2,
|
||||
:versioning => false
|
||||
|
||||
|
|
Loading…
Reference in New Issue