3 ms·
Have you done any view caching? You should take a look at fragment caching and how Russian doll caching works with the cache_digest gem.
by bobfirestone 13y ago
Have you done any view caching? You should take a look at fragment caching and how Russian doll caching works with the cache_digest gem.
- shail 13y agoI have not done any view caching as of now. I plan to do that. But the main issue in my mind currently is that ruby is performing slow and while searching on net I found solutions such as: 1) using REE (some GC fix) 2) Erubis is faster than erb 3) Other ruby implementations. I am wondering if anyone can share their experiences with an y of these approaches. Caching is something I plan to do but I wish to keep it as the last resort.
- bobfirestone 13y agoWhat version of ruby, rails, db & which web server are you using? It's hard to say the problem is ruby being slow until you isolate the problem. A guy I work with wrote a gem called dev_panel we use to find the bottlenecks. I haven't looked at ree in a long time but I think the most recent version is built against ruby 1.8. Erubis hasn't had an update in over 2 years.