Manually Invoking a Rails Sweeper
Let’s say you have a Rails app, and that app has a Photo model, and that photo model has many Destinations, and the destination pages are cached to disk, and when you update a photo you need to expire all of the current destination pages that photo is currently associated with. Here’s how.
Post a comment