homeASCIIcasts

Episodes tagged with “performance”

  1. 387

    Cache Digests Other translations: Ja

    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.

    Tags: rails-40 performance caching

  2. 390

    Turbolinks Other translations: Ja

    Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here we show how to use it in Rails 3 and mention some of the gotchas.

    Tags: performance ajax rails-40

  3. 223

    Charts Other translations: Es It

    There are a number of JavaScript charting libraries available. In this episode we use Highchart in a Rails application.

    Tags: views performance

  4. 222

    Rack in Rails 3 Other translations: Es It

    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.

    Tags: rails-30 routing performance

  5. 172

    Touch and Cache Other translations: Cn

    Rails 2.3.3 has a new feature called 'touch'. In this episode we use it to auto-expire associated caches.

    Tags: performance caching rails-23

  6. 169

    Dynamic Page Caching Other translations: Cn It

    Use a combination of page caching and JavaScript to create a fast cached page that can still be updated dynamically.

    Tags: caching performance ajax administration

  7. 161

    Three Profiling Tools

    Find out what your Rails application is doing under the hood with New Relic RPM, FiveRuns TuneUp and Rack::Bug.

    Tags: tools performance

  8. 150

    Rails Metal

    Rails Metal lets you bypass the normal Rails request process and speed up frequently called requests.

    Tags: rails-23 performance

  9. 23

    Counter Cache Column Other translations: It

    Improve performance by caching the record count for a has_many association in a counter cache column.

    Tags: performance active-record

  10. 22

    Eager Loading Other translations: It

    Improve the performance of your Rails application by reducing the number of database queries. Eager loading makes it easy.

    Tags: performance active-record

  11. 1

    Caching With Instance Variables. Other translations: It Fr Es Kr Pl Pt

    Store the result of an expensive command in an instance variable to improve performance.

    Tags: performance caching