# About http cache module

**URL:** <https://www.ruby-forum.com/t/about-http-cache-module/119463>\
**Category:** NGINX\
**Created:** [November 7, 2007, 6:17am UTC](https://www.ruby-forum.com/t/about-http-cache-module/119463 "2007-11-07T06:17:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrozier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@scrozier](https://www.ruby-forum.com/u/scrozier)\
**Post date:** [November 7, 2007, 6:17am UTC](https://www.ruby-forum.com/t/about-http-cache-module/119463/1 "2007-11-07T06:17:54Z")

</div>

I dig into nginx source code, found that lots of ngx\_http\_cache.c  
code has been commented.  
Is it abandoned or… Igor plan to develop it later?

We wanna some features like lighttpd’s mod\_cache and squid, but we  
found that it is a problem for us to share a  
a cache(file system local cache) among nginx workers, any idea?

Does Igor meet some problem on implmenting http cache module?

---

<div class="post-metadata">

**Author:** ![scrozier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@scrozier](https://www.ruby-forum.com/u/scrozier)\
**Post date:** [November 7, 2007, 9:26am UTC](https://www.ruby-forum.com/t/about-http-cache-module/119463/2 "2007-11-07T09:26:18Z")

</div>

The mod  
proxy\_store[http://wiki.codemongers.com/NginxHttpProxyModule#proxy\_store](http://wiki.codemongers.com/NginxHttpProxyModule#proxy_store)which  
like a cache module in nginx will be a useful module for you ,though  
it has no some rule such as delete files in the time you made.  
[http://wiki.codemongers.com/NginxHttpProxyModule#proxy\_store](http://wiki.codemongers.com/NginxHttpProxyModule#proxy_store)

2007/11/7, Steve C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![scrozier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@scrozier](https://www.ruby-forum.com/u/scrozier)\
**Post date:** [November 7, 2007, 11:03am UTC](https://www.ruby-forum.com/t/about-http-cache-module/119463/3 "2007-11-07T11:03:21Z")

</div>

On Wed, Nov 07, 2007 at 01:07:08PM +0800, Steve C. wrote:

> I dig into nginx source code, found that lots of ngx\_http\_cache.c  
> code has been commented.  
> Is it abandoned or… Igor plan to develop it later?

Yes, it was abandoned when before nginx went to a production life  
in the end of 2003.

> We wanna some features like lighttpd’s mod\_cache and squid, but we  
> found that it is a problem for us to share a  
> a cache(file system local cache) among nginx workers, any idea?

What problems do you mean ?

> Does Igor meet some problem on implmenting http cache module?

There are two things I do like in my first implementation:

1. busy lock
2. and garbage collection

so work was ssupended. However, there is big demand of nginx cache  
in my company, so I will eventually implement it. I’m going to implement  
many features of my Apache module mod\_accel:

[http://web.archive.org/web/20030610033841/dapi.chaz.ru/articles/plain/en/mod\_accel.xml](http://web.archive.org/web/20030610033841/dapi.chaz.ru/articles/plain/en/mod_accel.xml)

---

<div class="post-metadata">

**Author:** ![scrozier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@scrozier](https://www.ruby-forum.com/u/scrozier)\
**Post date:** [November 7, 2007, 10:58am UTC](https://www.ruby-forum.com/t/about-http-cache-module/119463/4 "2007-11-07T10:58:06Z")

</div>

On Wed, Nov 07, 2007 at 04:16:41PM +0800, chen changliang wrote:

> The mod proxy\_store[http://wiki.codemongers.com/NginxHttpProxyModule#proxy\_store](http://wiki.codemongers.com/NginxHttpProxyModule#proxy_store)which  
> like a cache module in nginx will be a useful module for you ,though  
> it has no some rule such as delete files in the time you made.  
> [http://wiki.codemongers.com/NginxHttpProxyModule#proxy\_store](http://wiki.codemongers.com/NginxHttpProxyModule#proxy_store)

proxy\_store is rather mirror on demand.
