Are you absolutely sure your Rails caching strategy isn't leaking sensitive information?

Rails writes a new cache entry based on the first request. But what happens when that request is from an admin?Imagine we have a partial that renders a product’s attributes. If the person viewing the product is an admin, we render an additional set of attributes not intended for the general public to see.
Are you absolutely sure your Rails caching strategy isn't leaking sensitive information? #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/are-you-absolutely-sure-your-rails-caching-strategy-isn-t-leaking-sensitive-information

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles