Displaying 1 result from an estimated 1 matches for "orkub1".
Did you mean:
grub1
2012 Jan 25
0
Can't Get Caching to Work with Heroku and Memcache
...app layout are used (trying to only get the
application layout)
Any help for this newbie would be most appreciated!
production.rb (also installed dalli per heroku documentation)
config.cache_store = :dalli_store
config.action_controller.perform_caching = true (added after reading http://bit.ly/oRKub1)
controller
layout ''admin''
caches_action :show, :layout => false
def show
render :layout => ''application''
end
def update
expire_action :action => :show
end
I tried to test the expiration by changing a product, but the show view
does not expire....