# Removing items from "proxy\_cache"

**URL:** <https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966>\
**Category:** NGINX\
**Created:** [June 7, 2011, 10:26am UTC](https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966 "2011-06-07T10:26:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [June 7, 2011, 10:26am UTC](https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966/1 "2011-06-07T10:26:57Z")

</div>

Been trying to find info about this, but the best I could find is some  
python binary to use in the SSH shell.

I’m looking for a programmatic way – ideally in PHP – to manually  
invalidate certain items from the proxy cache.

Is this possible? Thanks for any ideas!

Posted at Nginx Forum:

> **[Removing items from "proxy\_cache"](https://forum.nginx.org/read.php?2,204575,204575#msg-204575)**
>
> Been trying to find info about this, but the best I could find is some python binary to use in the SSH shell. I'm looking for a programmatic way -- ideally in PHP -- to manually invalidate certain items from the proxy cache. Is this possible? Thanks...

---

<div class="post-metadata">

**Author:** ![pk899](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@pk899](https://www.ruby-forum.com/u/pk899)\
**Post date:** [June 7, 2011, 10:30am UTC](https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966/2 "2011-06-07T10:30:02Z")

</div>

Hi,  
take a look at ngx\_cache\_purge:

> **[GitHub - FRiCKLE/ngx\_cache\_purge: nginx module which adds ability to purge...](https://github.com/FRiCKLE/ngx_cache_purge)**
>
> nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches. - GitHub - FRiCKLE/ngx\_cache\_purge: nginx module which adds ability to purge content from FastCGI, proxy...

Best regards,  
Piotr S. \< removed\_email\_address@domain.invalid \>

---

<div class="post-metadata">

**Author:** ![pk899](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@pk899](https://www.ruby-forum.com/u/pk899)\
**Post date:** [June 7, 2011, 10:47am UTC](https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966/3 "2011-06-07T10:47:58Z")

</div>

Looks interesting. I have downloaded and unzipped it. Now what? The  
github page doesn’t even have any instructions. How do I make sure it  
gets installed and then found by nginx? thanks!

Posted at Nginx Forum:

> **[Re: Removing items from "proxy\_cache"](https://forum.nginx.org/read.php?2,204575,204583#msg-204583)**
>
> Been trying to find info about this, but the best I could find is some python binary to use in the SSH shell. I'm looking for a programmatic way -- ideally in PHP -- to manually invalidate certain items from the proxy cache. Is this possible? Thanks...

---

<div class="post-metadata">

**Author:** ![pk899](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@pk899](https://www.ruby-forum.com/u/pk899)\
**Post date:** [June 7, 2011, 6:06pm UTC](https://www.ruby-forum.com/t/removing-items-from-proxy-cache/207966/4 "2011-06-07T18:06:24Z")

</div>

Hi,

> Looks interesting. I have downloaded and unzipped it. Now what? The  
> github page doesn’t even have any instructions. How do I make sure it  
> gets installed and then found by nginx? thanks!

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

Best regards,  
Piotr S. \< [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) \>
