# Help caching rails

**URL:** <https://www.ruby-forum.com/t/help-caching-rails/163750>\
**Category:** Rails\
**Created:** [March 24, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/help-caching-rails/163750 "2009-03-24T16:09:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton\_effendi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@anton\_effendi](https://www.ruby-forum.com/u/anton_effendi)\
**Post date:** [March 24, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/help-caching-rails/163750/1 "2009-03-24T16:09:10Z")

</div>

Hai All  
I have a problem. can help me plz…

problem:  
I want cache 1 varible…  
ex:  
user1 request to server… my program make 1 variable… if first time  
variable will generate(find to table). after generate I want that  
variable  
is cached.  
user2 request to server… because user1 has requested, so that variable  
not  
generate again. but read form cache…  
user3 request to server… —\> same with user2. (variable form cache)

can help me plzzzz…

Thank you…

–  
Wu You Duan
