Commit 2e6d3ca4 authored by Cool Fire's avatar Cool Fire

Add cache directives for static resources.

parent 9ab7e398
Pipeline #1213 failed with stages
in 1 minute and 17 seconds
......@@ -12,6 +12,8 @@ class SignupSite < Sinatra::Base
set :title, 'Shell signup - Insomnia 24/7'
set :gitid, IO.read('.current')
set :config, YAML.load_file('config.yaml')
set :static, true
set :static_cache_control, [:public, {:max_age => 3600}]
get '/' do
landing = YAML.load_file('content/landing.yaml')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment