Created
August 14, 2009 10:46
-
-
Save speedmax/167761 to your computer and use it in GitHub Desktop.
File cache your high traffic actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PhotogalleriesController < ApplicationController | |
caches_action :list, :show | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/path/to/apps/myawesomeapp/rake tmp:cache:clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment