#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Hi were you able to solve this?


    Hi were you able to solve this?

    Originally Posted by madhuri.sayana
    Hello,

    I am using Apache web server and tomcat in our dev enviornment. I have enabled the mod_cache module in apache, but I am not sure if apache is really caching the jsp pages. The requests still go to mod_jk. Can anyone please help me out with this. Are there any resources available for mod_cache (or if anyone has used it before).

    Thanks very much
    madhuri

    here is part of my httpd.conf file

    LoadModule jk_module modules/mod_jk.so
    LoadModule cache_module modules/mod_cache.so

    CacheEnable mem /base-webapp
    CacheMaxExpire 86400
    #mod_cache
    <IfModule mod_cache.c>
    #LoadModule disk_cache_module modules/mod_disk_cache.so
    <IfModule mod_disk_cache.c>
    CacheRoot "/Users/madhuri/cacheroot"
    CacheSize 256
    CacheEnable disk /
    CacheDirLevels 5
    CacheDirLength 3
    </IfModule>

    LoadModule mem_cache_module modules/mod_mem_cache.so

    <IfModule mod_mem_cache.c>
    MCacheSize 700000
    MCacheMaxObjectCount 13001
    MCacheMinObjectSize 10000
    MCacheMaxObjectSize 6400000
    MCacheRemovalAlgorithm LRU
    </IfModule>

    </IfModule>

    <VirtualHost 127.0.0.1>
    DocumentRoot /Users/madhuri/base-webapp/build
    ServerName 127.0.0.1
    Alias /base-webapp/ /Users/madhuri/base-webapp/build/web/
    JkMount /*.jsp ajp13
    JkMount /*.jsf ajp13
    </VirtualHost>
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,295
    Rep Power
    9400
    Split from http://forums.devshed.com/apache-dev...he-170050.html

    That post is from 2004. They're not coming back.

    What does your configuration look like?

IMN logo majestic logo threadwatch logo seochat tools logo