yang g cari itu.... untuk caching 1 variable... sehingga kalo setiap orang 
request varible itu ada.



--- On Wed, 24/12/08, Leo Laksmana <[email protected]> wrote:
From: Leo Laksmana <[email protected]>
Subject: Re: [id-ruby] mau tanya tentang caching
To: [email protected]
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&#39;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&#39;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]

Kirim email ke