In Rails, you can cache almost everything.
You can cache partial or requests. And you can also finish them manually.
for instance
cache('categorylist') do
render partial: 'such'
end
post.rb reset
after_create {
Rails.cache.delete('categorylist')
}
, ( ) . .