1
vote
2answers
1k views

Setting up a reverse proxy to cache images

I wrote a quick Python server to serve resampled images. For example, a URL might look something like http://images.domain.com/resample/100x100/9f362e1994264321.jpg. Being that resampling images is ...
1
vote
1answer
208 views

Apache mod_ldap / mod_authnz_ldap not caching?

I have an Ubnutu 12.04 server running Apache2 that is configured as a reverse proxy. Apache has been further configured for basic authentication via LDAP. Everything is working fine, except the ...
0
votes
0answers
162 views

nginx caching and proxy pass

I'm trying to use nginx to proxy CDN use for our site to prevent raw video access when people put the CDN URL into their browser, and instead redirect them to a video page. If it's not a cacheable ...
1
vote
0answers
188 views

Nginx, wordpress: Unable to proper reverse proxy caching due to Set-Cookie. Recommendation for a good strategy

I am trying to do reverse proxy caching for a wordpress blog and I am hit with snags. The initial configuration was a simple reverse caching like this location / { proxy_cache_key ...
2
votes
1answer
270 views

How to Confirm working of Nginx Caching Proxy

I am having nginx on port 80 and apache on port 8080 on same server. I have configured nginx such that it act as reverse proxy(i am not sure whether its working or not) using this tutorial ...
1
vote
1answer
251 views

Nodejs for processing js and Nginx for handling everything else

I am having a nodejs running on port 8000 and nginx on port 80 on same server. I want Nginx to handle all the requests(image,css,etc) and forward js requests to nodejs server on port 8000. Is it ...
1
vote
0answers
65 views

File-based reverse proxy cache with lru gc?

For a project I'm working on I need a file-based reverse proxy cache where I limit the size of the cache to some setting and have the ability to "gc" the cache based most likely on a lru algorithm. ...
-1
votes
1answer
372 views

nginx proxypass content 404s when adding caching location block

Below is my nginx conf - the location block for adding expires max to content is causing issues with content from the /internal proxied sites. nginx error log; 2011/11/22 15:51:23 [error] 22124#0: ...
3
votes
1answer
850 views

Nginx reverse proxy: Not setting expires header

I have my static assets configured as location @upstream { proxy_pass http://localhost:82; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; ...
0
votes
1answer
749 views

Is it possible to use mod_expires in an Apache configured as reverse proxy?

my setup is as follows: Browser <=> Ec2 Load Balancer <=> Apache (reverse proxy) <=> Jetty The Apache and the Jetty are running on the same machine in the Amazon cloud (Debian Lenny, Linux ...
0
votes
4answers
968 views

Nginx 0.67 ignores Cache-Control: no-cache from upstream proxy

I want to specify no caching for some responses from my (Pylons) upstream server in order to avoid users being able to access cached content after logoff. To do that I'm returning a no-cache header as ...
1
vote
2answers
619 views

nginx caching dynamic content to static

I've read and heard that nginx can cache dynamic content and make it static so it loads faster taking more of a load of apache. has anyone done this before? is it worth it? any pros/cons to it?
0
votes
1answer
433 views

Should Squid honor no-cache and s-maxage in reverse proxy mode?

I'm using Squid 2.7.STABLE9, which I compiled from source. My understanding of no-cache is that the cache must revalidate with the origin server before serving up a cached copy of the resource, and ...
0
votes
0answers
450 views

Squid Reverse Caching Proxy with ACL and Delay Pools

I have to configure a Reverse Proxy Caching Squid box to do: Define Content groups, e.g. images containing gif, png, ico, jpg, jpeg, etc Audio containing mp3, wav, ogg etc Video Archives Binary ...
0
votes
1answer
3k views

apache's caching (mod_cache) vs squid reverse-proxy caching?

simple question about an area im not familiar with. which one is best for caching? are there other options? cause i want to be sure which one to use before i learn it. so i dont have to realize ...
2
votes
1answer
3k views

Varnish VCL Reload Fails After Adding Second Backend

I have been running Varnish on my production server successfully for several weeks now. Now I'm trying to configure Varnish to use a second backend for certain requests. My original working VCL ...
3
votes
6answers
1k views

Fail-over caching reverse proxy

Is there a way to configure varnish or any other caching reverse proxy, to serve pages from its cache when the back-end fails? At the moment, if the back-end goes down a 503 Service Unavailable error ...