Skip to content

Commit

Permalink
Added first Varnish TTL test
Browse files Browse the repository at this point in the history
  • Loading branch information
bfcapell authored and Jon de Andres committed Oct 9, 2012
1 parent f13c688 commit d54a149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ubiquo_design/app/controllers/pages_controller.rb
Expand Up @@ -2,6 +2,7 @@ class PagesController < PublicController

# Renders a Page using its associated template, displaying its blocks and widgets
def show
response.headers['X-VARNISH-TTL'] = '120'
@page = uhook_load_page
render_page @page
end
Expand Down

0 comments on commit d54a149

Please sign in to comment.