added an option to chache servlet results.