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

    Join Date
    Apr 2013
    Rep Power

    Hi were you able to solve this?

    Hi were you able to solve this?

    Originally Posted by madhuri.sayana

    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

    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
    <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

    LoadModule mem_cache_module modules/mod_mem_cache.so

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


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

    Join Date
    Mar 2007
    Washington, USA
    Rep Power
    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