# NGX\_HTTP\_CACHE and upstream

**URL:** <https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762>\
**Category:** NGINX\
**Created:** [May 7, 2013, 9:40am UTC](https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762 "2013-05-07T09:40:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander\_koch\_log](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@alexander\_koch\_log](https://www.ruby-forum.com/u/alexander_koch_log)\
**Post date:** [May 7, 2013, 9:40am UTC](https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762/1 "2013-05-07T09:40:39Z")

</div>

Hi,

When compiling nginx with NGX\_HTTP\_CACHE and using upstream backends -  
are  
responses automatically cached in memory without the use of proxy\_cache?

Thanks,

Alex

Posted at Nginx Forum:

> **[NGX\_HTTP\_CACHE and upstream](https://forum.nginx.org/read.php?2,238929,238929#msg-238929)**
>
> Hi, When compiling nginx with NGX\_HTTP\_CACHE and using upstream backends - are responses automatically cached in memory without the use of proxy\_cache? Thanks, Alex

---

<div class="post-metadata">

**Author:** ![alexander\_koch\_log](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@alexander\_koch\_log](https://www.ruby-forum.com/u/alexander_koch_log)\
**Post date:** [May 7, 2013, 11:24am UTC](https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762/2 "2013-05-07T11:24:39Z")

</div>

Hello!

On Tue, May 07, 2013 at 03:40:02AM -0400, alexander\_koch\_log wrote:

> When compiling nginx with NGX\_HTTP\_CACHE and using upstream backends - are  
> responses automatically cached in memory without the use of proxy\_cache?

No.

–  
Maxim D.

> **[nginx: donation](http://nginx.org/en/donation.html)**
