# Cache

**URL:** <https://www.ruby-forum.com/t/cache/166266>\
**Category:** NGINX\
**Created:** [April 23, 2009, 10:39am UTC](https://www.ruby-forum.com/t/cache/166266 "2009-04-23T10:39:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [April 23, 2009, 10:39am UTC](https://www.ruby-forum.com/t/cache/166266/1 "2009-04-23T10:39:04Z")

</div>

I used fastcgi\_cache. It works so great

But I have a website that let someone to login with their own username.  
Sometimes it’s giving me onother username.

Is there any ways if using fastcgi\_cache, but exclude a text that’s  
grabbed  
from database? Or somethink that I can prevent that problem?

---

<div class="post-metadata">

**Author:** ![Glen\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Post date:** [April 23, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/cache/166266/2 "2009-04-23T21:28:27Z")

</div>

You could modify your script to put the username (or other uniquely  
identifying code) in the url somewhere, so that it would split the  
cache based on this information.
