cache trace client-side