Fix cache for safari