Episodes tagged with “performance”
Cache Digests Other translations:
The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire but there are traps we need to watch out for.
Turbolinks Other translations:
Charts Other translations:
Rack in Rails 3 Other translations:
The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal.
Touch and Cache Other translations:
Rails 2.3.3 has a new feature called 'touch'. In this episode we use it to auto-expire associated caches.
Dynamic Page Caching Other translations:
Find out what your Rails application is doing under the hood with New Relic RPM, FiveRuns TuneUp and Rack::Bug.
Rails Metal lets you bypass the normal Rails request process and speed up frequently called requests.
Counter Cache Column Other translations:
Improve performance by caching the record count for a has_many association in a counter cache column.
Eager Loading Other translations:
Improve the performance of your Rails application by reducing the number of database queries. Eager loading makes it easy.
Caching With Instance Variables. Other translations:
Store the result of an expensive command in an instance variable to improve performance.