enable view cache