I am using Action Caching which seems to work OK with Rails 6. The issue is how to expire the cache when the underlying model is updated? According ...
I am using Action Caching which seems to work OK with Rails 6. The issue is how to expire the cache when the underlying model is updated? According ...
We are using active admin in our application. I have massive data etc to be managed. I want to implement page caching/ action caching in active admin ...
I've a Rails4 app a mounted rails 4 engine MyEngine with a controller MyController I've defined multiple actions in the controller for caching as fol ...
I have a spec that tests action caching when caching is disabled and when caching is enabled. It seems like the order of test execution affects whethe ...
Note: I am presenting a logic here what I am doing. What I am doing: Think about the basic index action where we are listing products and with pagi ...
I'm working on a search feature that when typing something make an ajax call to get the results. I wanna caches the search action with search keywords ...
I have a controller in which I am caching the show action. The show action has a number of before filters for security that are meant to execute and r ...
A cache sweeper is an observer with some hooks on the model it is observing: But documentation and guides also say to declare the sweeper in the co ...
I'm working on a page that displays a restaurant menu. I have 2 models: FoodMenu has_many :products and Product belongs_to :food_menu. I don't have co ...
I'm having some problem expiring an action cache in my application. Here is my controller: I somehow need to be able to reset the custom cache pat ...
I have been playing around with different caching strategies on Heroku and have add their memcached add-on with an aim to add action caching to my app ...
I am a rails newbie trying to implement caching for my app. I installed memcached and configured it in my development.rb as follows: I have a contr ...
I'm not quite sure how to ensure my caching is working, but I'm pretty sure it's not. I have a users controller with an index action that I'm action c ...
I have a controller index action which returns json output. What type of caching do I have to use here. Does 'page caching' make sense for this. O ...