Ajax query local caching enabled via option

I want to introduce ajax query caching enabled via option ``ajax.cache = true``