caching moved to views