Permalink
Browse files

max age

  • Loading branch information...
1 parent 40b9910 commit 1b0c744a3d68f492887d4a0a0caa0afd9fc07117 @stefl committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/page.rb
View
@@ -3,7 +3,7 @@
YeBay.controllers :page do
get :index, :map => "/" do
- cache_control :public, :must_revalidate, :max_age => 300
+ cache_control :public, :max_age => 300
@items = []
json = ::JSON.parse(open("http://myshakespeare.worldshakespearefestival.org.uk/api/?dateRange=10-06-2012,17-06-2012").read)
json.keys.each do |key|

0 comments on commit 1b0c744

Please sign in to comment.