[mod_python] [SPAM] Caching Problem

IGP-DEV igp-dev at infogridpacific.com
Wed Jan 11 07:28:10 EST 2006

Hello friends ,
We are using Apache Server Version - 2.0.52 and mod-python version 3.1.4
I have enable disk based caching using mod-disk-cache as follows :-
<IfModule mod_cache.c>
    <IfModule mod_disk_cache.c>
        CacheRoot /var/cache/mod_proxy
        CacheSize  102400
        CacheMaxExpire 604800
        CacheEnable disk /
        CacheGcInterval 24
        CachegcDaily 23
        CacheDirLevels 3
        CacheDirLength 2
The above settings were turned on in Apache configuration file.
But there is one problem , when the client browser requests for a html 
page for first time the servers delivers it and caching is being done , 
but when the  client browser clears its chache and again requests the 
same page , a string of html
is displayed on the browser.
Can you tell me why is it so and is there a solution for the above problem?
Thanks in advance ,
Atul K

More information about the Mod_python mailing list