kalau begitu yang kamu cari mungkin seperti fitur yang ada di rails 2.2.2 yaitu memoization, lihat contohnya di sini http://railscasts.com/episodes/137-memoization...
semoga membantu (\ /) (O.o) (> <) This is Bunny. Copy Bunny into your signature to help him on his way to world domination. ________________________________ Dari: king_youduan gouw <[email protected]> Kepada: [email protected] Terkirim: Kamis, 25 Desember, 2008 08:32:49 Topik: Re: [id-ruby] mau tanya tentang caching yang g cari itu.... untuk caching 1 variable... sehingga kalo setiap orang request varible itu ada. --- On Wed, 24/12/08, Leo Laksmana <b...@laksmana. com> wrote: From: Leo Laksmana <b...@laksmana. com> Subject: Re: [id-ruby] mau tanya tentang caching To: id-r...@yahoogroups .com Date: Wednesday, 24 December, 2008, 4:22 PM Ada macem2 caching methods di rails. Anda cari specifically caching untuk apa? Macem2 caching yang saya tahu: 1. Page caching, page generated dari suatu action di cache sebagai html page di RAILS_ROOT/public dan langsung di serve oleh web server tanpa hit rails application- nya. 2. Action caching, page generated dari suatu action di cache tapi setiap resource request akan hit controller dulu untuk di handle before_filter- nya. 3. Fragment caching, page generated dari suatu partial template di cache, setiap resource request akan hit controller seperti biasa dan cache baru akan dipakai pada saat render process. 4. SQL query caching, kalo gak salah by default sejak rails v2.x SQL query yang sama dalam satu action/resource request akan di cache result-nya. On Dec 18, 2008, at 11:02 PM, king_youduan gouw wrote: > di RoR kan ada caching.... > ada yang tau ga caranya??? > and setiap mau caching itu perlu server untuk caching nya??? > > > mohon pencerahannya > > Anton Effendi > > > > New Email names for you! > Get the Email name you've always wanted on the new @ymail and > @rocketmail. > Hurry before someone else does! > http://mail. promotions. yahoo.com/ newdomains/ aa/ > > [Non-text portions of this message have been removed] > > > ------------ --------- --------- ------ > > ID-Ruby > Berdiskusi dan belajar bersama Bahasa Pemrograman Ruby, termasuk > segala varian Ruby (JRuby, Rubinius, IronRuby, XRuby), dan program > yang dibuat dengan Ruby (Ruby on Rails, JRuby on Rails, Merb) > > http://rubyurl. com/Q8DD > http://news. gmane.org/ gmane.comp. lang.ruby. region.indonesia > > Yahoo! Groups Links > > > -- http://beol. laksmana. com/ http://www.plurk. com/user/ beol New Email addresses available on Yahoo! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail. promotions. yahoo.com/ newdomains/ aa/ [Non-text portions of this message have been removed] Firefox 3: Lebih Cepat, Lebih Aman, Dapat Disesuaikan dan Gratis.http://downloads.yahoo.com/id/firefox [Non-text portions of this message have been removed]

