| Web Development >> Ruby On Rails |
Caching with Instance Variables
| Language : | English | Quality : | High | Has Audio : | true | Source : | Other | Media : | n/a |
| Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable! |
Tags: Ruby On Rails, Screencast, Caching, Web Development, [SUGGEST A TAG]
Resources referenced in this screencast
|
Articles Realted to this Topic |
[SUGGEST A ARTICLE] |
|
Content-only caching for Rails So you’ve got a Rails app which is mostly static content, but it’s got some dynamic, user-specific stuff mixed in with the layout. You’d love to cache the static data, since it doesn’t change often, but that would leave you updating the dynamic content via AJAX or something, and as cool as AJAX is, it’s for crap when the Javascript is turned off |
|
Top 10 Ruby on Rails performance tips The performance of Ruby on Rails is influenced by many factors, particularly the configuration of your deployment server(s). However the application code can make a big difference and determine whether your site is slow or highly responsive. This short article is about some of the tips and best coding practices to improve performances in Rails only, and won’t attempt to cover the server configuration improvements for the various deployments options |