# Re: Simple question about proxy cache

**URL:** <https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227500>\
**Category:** NGINX\
**Created:** [March 18, 2013, 12:21pm UTC](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227500 "2013-03-18T12:21:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [March 18, 2013, 12:21pm UTC](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227500/1 "2013-03-18T12:21:37Z")

</div>

On 17/03/13 23:08, Maxim D. wrote:

> > I’m wondering whether all requests are logged whether they’re cached or  
> > This usually happens if your backend doesn’t specify allowed cache  
> > time (in this case, proxy\_cache\_valid should be used to set one,  
> > see [Module ngx\_http\_proxy\_module](http://nginx.org/r/proxy_cache_valid)) or if backend responses  
> > doesn’t allow cache to be used (either directly with  
> > Cache-Control/Expires headers, or indirectly with Set-Cookie  
> > header, see [Module ngx\_http\_proxy\_module](http://nginx.org/r/proxy_ignore_headers)).

Excellent - thanks, Maxim! That’s got me sorted now, it all seems to be  
working as planned.
