I am not sure why, but when I set this parameter, it cannot compile
set :static_cache_control, [:public, :max_age => 300]
This is what I get
syntax error, unexpected tASSOC, expecting ']' (SyntaxError) set :static_cache_control, [:public, :max_age => 300] ^
syntax error, unexpected tASSOC, expecting ']' (SyntaxError) set :static_cache_control, [:public, :max_age => 300] ^
I just want to set the "expires" header in css, javaascript and image files.
Thanks.
source share