WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

Update cache TTL interval to match HTTP cache control headers

Open momo-ozawa opened this issue 1 year ago • 0 comments

https://github.com/wordpress-mobile/WordPress-iOS/pull/21348#discussion_r1303657616

It's probably not ideal to cache avatars in memory without providing a time-to-live interval that roughly matches the HTTP cache control headers (around 5 minutes?). If you change the outside of the app, it won't update until the memory cache clears, which may need to happen while the app is running.

momo-ozawa avatar Aug 25 '23 08:08 momo-ozawa