# More informations about caching

**URL:** <https://www.ruby-forum.com/t/more-informations-about-caching/198291>\
**Category:** NGINX\
**Created:** [October 29, 2010, 11:35am UTC](https://www.ruby-forum.com/t/more-informations-about-caching/198291 "2010-10-29T11:35:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 29, 2010, 11:35am UTC](https://www.ruby-forum.com/t/more-informations-about-caching/198291/1 "2010-10-29T11:35:24Z")

</div>

Hi everybody,

I’m using Nginx as reverse proxy for a long time and i’m currently  
setting up a cache system using Nginx.  
I have a question about the proxy\_cache feature.

I want to know what’s happen when the cache is full. Is the first object  
cached be deleted ?

I want to delete in first, the file with the less hit from the cache (if  
the caching going to be full).

Is there a solution ? or something ?

Thank a lot.
