Basing caching off view settings