crowell / modpagespeed_tmp

Automatically exported from code.google.com/p/modpagespeed
Apache License 2.0
0 stars 0 forks source link

provide option to disable caching of HTTP input and output resources #705

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In some environments, the origin HTTP resources are easily & quickly accessible 
and there is no need for mod_pagespeed to cache them; it's fine to fetch them 
whenever they are needed again (say to optimize an image as both a jpeg and a 
webp).

In other environments, there is a good cache between the MPS server and the 
user (e.g. Varnish) and there's no need to have a cache in MPS either.

So we should have an option to disable caching either of those.

Note that we already refrain from caching output resources in extend_cache, and 
from caching input resources when using LoadFromFile, but this option would 
cover the rest of the cases.

Original issue reported on code.google.com by jmara...@google.com on 23 May 2013 at 1:39