Added option available in DEBUG mode to allow cache to be disabled.