httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha a <>
Subject [users@httpd] mod_file_cache works wierdly
Date Tue, 10 Feb 2009 16:03:42 GMT
hi, guys,

My httpd is 2.2.3 on FC3, compiled from source codes.
These days, I am working on mod_file_cache for improve the performance.

So, I used apxs to generate the .so, and modified the httpd.conf

and I also added
CacheFile /path/to/targetFile
MMapFile /path/to/targetFile

at the end of httpd.conf.

but I found a strange issue:
if the old file content is:
then I change into:

after I refresh the file in browser, I got 123.
That is new content appeared(that should NOT)
and the length of new content is the length of old content.
and the rest of new content disappeared.

seems mod_file_cache has some effect, but not correct.

Thanks for any help.

View raw message