"Better WebPerformance with Rails 5.2"
summary
Optimizes a Rails 5.2 webshop and measures before/after page times, showing concrete fixes: enable caching and create a cache table, store product review stars in the DB and invalidate cache on create/destroy, move heavy work off the request path, and serve resized compressed images with Active Storage variants and server compression. Demonstrates proxy/server cache use and fragment-level caching to cut load times from around one second-plus to well under a second and reduce server cost.
AI-written summary · about
