http_cache.conf.xml 1.0 KB

123456789101112131415161718192021
  1. <configuration name="http_cache.conf" description="HTTP GET cache">
  2. <settings>
  3. <!-- set to true if you want to enable http:// and https:// formats. Do not use if mod_httapi is also loaded -->
  4. <param name="enable-file-formats" value="true"/>
  5. <param name="max-urls" value="10000"/>
  6. <param name="location" value="$${base_dir}/http_cache"/>
  7. <param name="default-max-age" value="86400"/>
  8. <param name="prefetch-thread-count" value="8"/>
  9. <param name="prefetch-queue-size" value="100"/>
  10. <!-- absolute path to CA bundle file -->
  11. <param name="ssl-cacert" value="$${base_dir}/conf/cacert.pem"/>
  12. <!-- verify certificates -->
  13. <param name="ssl-verifypeer" value="true"/>
  14. <!-- verify host name matches certificate -->
  15. <param name="ssl-verifyhost" value="true"/>
  16. <!-- default is 300 seconds, override here -->
  17. <!--param name="connect-timeout" value="300"/-->
  18. <!-- default is 300 seconds, override here -->
  19. <!--param name="download-timeout" value="300"/-->
  20. </settings>
  21. </configuration>