You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ha a <ah...@yahoo.com.cn> on 2009/02/10 17:03:42 UTC
[users@httpd] mod_file_cache works wierdly
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
or
MMapFile /path/to/targetFile
at the end of httpd.conf.
but I found a strange issue:
if the old file content is:
abc
then I change into:
1234567
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.
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/