1 Reply Latest reply on Aug 5, 2003 12:33 AM by Jon Barnett

    ajp13 and cache

    tscondor Newbie

      I have integrate apache with jboss2.4.10-Tomcat4.0.6 and works.
      But I have a performance problem: all the page content it comes reloaded any time the page is requested.
      My page have 18 images and nothing comes cached.
      How to set the ajp13 connector for caching the content page?

      and excuse my bad english...

        • 1. Re: ajp13 and cache
          Jon Barnett Master

          AJP1.3 is a straight request forwarding protocol. There is no concept of caching contained in the spec. Since primarily, it is designed to forward requests on to a dynamic content server, it is somewhat difficult to have a fast, lightweight connection protocol that also remembers and understands the difference between static content returns and dynamic content returns.

          Most likely you would need to either remove the load from servlet container and deploy it on the front-end Apache, and/or configure a SQUID proxy to perform caching in conjunction with mod_expires. This becomes somewhat complex, and I think expends as much time as you are trying to conserve.

          The best option would be to serve static content from the web-server, assuming that you have two servers - one for JBoss/Tomcat/Jetty and one for Apache. At least, you will be sharing the load.

          Someone may be able to suggest a more effective scheme.