# HG changeset patch # User Edho Arief # Date 1349294743 -25200 # Node ID f649b46fca4f5a20746a610a3849920179291a61 # Parent e9b485638f93d2e16b3e115b15da7d1efc14fa42 Cache all the things! Or just the show page. diff -r e9b485638f93 -r f649b46fca4f app/controllers/pastes_controller.rb --- a/app/controllers/pastes_controller.rb Thu Oct 04 03:01:24 2012 +0700 +++ b/app/controllers/pastes_controller.rb Thu Oct 04 03:05:43 2012 +0700 @@ -1,4 +1,5 @@ class PastesController < ApplicationController + caches_page :show # GET /pastes/1 # GET /pastes/1.json def show