Link to home
Start Free TrialLog in
Avatar of Rocking
Rocking

asked on

proxy caching

hi,

what are the configuration needs to be made in tomcat (7,8) server for enabling proxy caching?
ASKER CERTIFIED SOLUTION
Avatar of REIT
REIT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rocking
Rocking

ASKER

how to configure the setting in apache with tomcat for proxy caching?
Let me know the steps for the above.
I'm not a sys-admin so I can't give you detailed advice, but in general for tools like Squid, the configuration you need to focus on happens in the proxy.  Tomcat generally doesn't need to be changed.

When a new request comes in it goes to Squid.  If Squid has a cached copy it responds with the cached version.  If not it forwards the request to Tomcat, which just responds exactly as if the request had come directly from the end user.

So you need to figure out how to install and configure whatever proxy you wish to use.
You might want to try "Squid in 5 mins":
http://magazine.redhat.com/2007/04/11/squid-in-5-minutes/

Also there are a lot of commercial solutions available for this - where the proxy/caching layer happens using another company's servers.  Some of the big players are Edgecast (http://www.edgecast.com/) and Akamai (www.akamai.com) or if you would like a cheap/free solution consider CloudFlare (https://www.cloudflare.com/).  If you use one of these, they handle all of the proxy servers and their configuration.  You just need to do some very simple setup (usually just creating some DNS entries) and each service has lots of docs or people to help walk you through it.

Doug
Avatar of Rocking

ASKER

I am unable to find enabling proxy caching in apache and tomcat?
Any link would be very much appreciated.