From 314e67adcd2198c1881e1fd3376ea706dbf5706e Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 27 Feb 2015 12:10:29 -0800 Subject: [PATCH] a little bit faster cache recycle --- app/blog.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/blog.rb b/app/blog.rb index e4969520..6fa8e715 100644 --- a/app/blog.rb +++ b/app/blog.rb @@ -2,12 +2,12 @@ require 'net/http' require 'uri' get '/blog/?' do - expires 500, :public, :must_revalidate + expires 60, :public, :must_revalidate return Net::HTTP.get_response(URI('http://blog.neocities.org')).body end get '/blog/:article' do |article| - expires 500, :public, :must_revalidate + expires 60, :public, :must_revalidate attempted = false