Closed naluinui closed 4 months ago
I'll be bringing this up in the next EC call
I've had a chat with Frongs and tested it out on the CNN page and found that this problem does not occur anymore. The caches are being served just fine when navigating back to previous detections page. The cache is being set at 600 seconds as well. Not milliseconds.
Tested it and seems to work ok
Background
In validation page, it took quite long to load spectrogram image. It's requesting spectrogram every time the user come into the page, swap between page, change filters, etc.
It would be nice if we can implement caching mechanism so that it's saving the load time of the page.
Expected outcome
Make change on Media API to cache these blobs image data