title: Apache optimization for images or static files
body: <p>I have several pages with about 200 images each. When I access them, Apache opens a lot of threads, using more than 1 Gb of RAM. I can see several "httpd" entries on "top" command, each using 0.6% of RAM.</p>
  
  <p>All files are static, small JPG files. I'm using .htaccess for client side caching, but this is not enough since I have several new users each hour, non-cached ones.</p>
  
  <p>My config:</p>
  
  <pre><code>KeepAlive On
  MaxKeepAliveRequests 200
  KeepAliveTimeout 30
  StartServers       1
  MinSpareServers    2
  MaxSpareServers    4
  ServerLimit      300
  MaxClients       300
  MaxRequestsPerChild 0
  MaxRequestWorkers 300
  </code></pre>
  
  <p>What is the best way to serve lots of static files, per page, with low memory usage? It's a CentOS 7, Apache 2.4.6, almost in default config, except the directives above.</p>
  
  <p>Thanks.</p>