Added internal cache for rows, init cache for easier invalidation