added local cacheing options