More informations about caching

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.