views:

17

answers:

0

I would like to use Mod_Cache apache module for only images on my server. But I don't where I can write a regexp for only fetch image files and how to limit cache size. Apache doc said this module should be use with care, what is safiest config? I already use ETag and expires headers, but if a user comes with an empty cache it will better to serve images with apache mod_cache. By the way, what is better between mod_disk_cache and mod_mem_cache?