ui: Delete stale cache entries on both read and write
ui: Delete stale cache entries on both read and write

Change-Id: I98a3513678df33910c8caba7365d3d69c0478f04
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto