Caching (!) Proxy? Possible?

3 posts / 0 new
Last post
#1 Fri, 09/12/2014 - 04:14
Hans

Caching (!) Proxy? Possible?

Hiya,

using Website Proxy with Virtualmin, I reckon, that if the Proxy-To-URL fails e.g. because the "real" server is down, also my proxy site will fail, as it won't be able to pull any data from the original source. Therefore I was wondering:

Is it possible to set up a caching proxy w. Virtualmin, one that actually stores all the pages of the original site on the local proxy w. Virtualmin? Like a mirror, that keeps running, even if the original source is unavailable?

Thanks! :)

Wed, 09/17/2014 - 04:41
lostandfound

Sure there are different ways of accomplishing this, one might be by using Varnish.

Varnish has a feature which enables you to use a "grace" period.

Varnish sits between the users browser and the server backend. You can create a setup using grace where if the backend is unavailable Varnish serves the content itself. Might be worth checking it out.

Wed, 09/17/2014 - 09:54
Hans

http://www.varnish-cache.org

thanks you for that! Looks promising. Will try it out to see if it goes w. the virtualmin hosts.

Would be cool to have this functionality as some option within virtualmin to do what varnish does, just with a click in admin (admins = lazy ;)

Cheers! :)

Topic locked