Permalink
Browse files

Stable setup

  • Loading branch information...
mattb committed Jan 30, 2010
1 parent e5eff53 commit f4871ec6ffdbd4853ee80e05502e1f06453ea401
View
@@ -6,6 +6,5 @@ bundle_path ".gems/bundler_gems"
# List gems to bundle here:
gem "dm-appengine"
gem "sinatra"
-gem "rack-cache"
gem "appengine-rack"
gem "json"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -1,6 +1,10 @@
require 'appengine-rack'
+
AppEngine::Rack.configure_app(
:application => "songkickontour",
:version => "1")
require 'songkickontour'
+
+use Rack::Cache, { :metastore => 'gae://cache-meta', :entitystore => 'gae://cache-body' }
+
run Sinatra::Application
View
@@ -19,6 +19,7 @@
DOPPLR = Dopplr.new(:next_url => BASE_URL, :session => true)
get '/' do
+ response['Expires'] = (Time.now + 60).httpdate
erb :index
end

0 comments on commit f4871ec

Please sign in to comment.