Tony Anecito wrote:
Hi All, Can Apache selectively cache files based on extension? I know some admins may have given up on caching because they cached entire pages that are dyanmically built which causes problems. If they could cache the images, css, js files that are used by those same pages that would be more appropiate I would think.
Two words; CACHE CONTROL This closely resembles the concept of 'natural birth control', sometimes very successful, other times... E.g. you express using mod_headers or mod_expires (and you can control them via <Files > blocks) precisely when resources will expire. Then your httpd cache should handle everything. If it is worth caching at Verizon, AOL, or Comcast, it is worth caching at your server origin point. And if it shouldn't be cached at your own server, there is no point suggesting to the world that it is cacheable. Bill --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx