Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
caching
  • Loading branch information
ryonlife committed Jun 13, 2010
1 parent 45b2ed9 commit 8dd8e26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions local/app.rb
@@ -1,5 +1,7 @@
def cache(content, opts={})
headers 'Cache-Control' => 'public, max-age=300'
helpers do
def cache(content, opts={})
headers 'Cache-Control' => 'public, max-age=300'
end
end

get '/' do
Expand Down

0 comments on commit 8dd8e26

Please sign in to comment.