Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Apache 2 as my load balancer (mod_jk).

I've 2 Tomcat servers behind my load balancer.

What I'm trying to do is to enable caching of my static pages in my load balancer using mod_cache but nothing seems to be working. I confirmed this by creating a simple JSP page that prints out current date time and I always get the latest date time (indicating that the JSP page is not cached).

OS: Ubuntu

mem_cache directive:

<IfModule mod_mem_cache.c>
        CacheEnable mem /
        MCacheSize 4096
        MCacheMaxObjectCount 100
        MCacheMinObjectSize 1
        MCacheMaxObjectSize 2048
share|improve this question
What does your current mod_cache directive look like? – 에이바 Mar 26 '12 at 17:22
hi, please take a look at my question. I just added the directive there. – tommi Mar 26 '12 at 17:50
Let's start with the simplest solution, do you have installed? – 에이바 Mar 26 '12 at 17:58
Yes. I followed instructions from here, For mem cache. – tommi Mar 26 '12 at 18:36

You must log in to answer this question.

Browse other questions tagged .