-
Goal: Using caching to enable Retool to run a bunch of image queries in advance to make it quick to use the Retool dashboard after all the images have been cached. So, I enabled caching for our image queries, which read a ~10-15mb image in base64 from AWS S3 based on the image path key. However, the caching is far from consistent.
-
Steps: looked through any caching related Retool forum posts or issues, but didn't find anything relevant. Made a simple mock-up of the issue using back to back queries.
-
Details: Even when querying the same pair of images in (image A and B, A and B, A and B), sometimes both are taken from the cache, sometimes only one, and sometimes neither. In my testing of a specific pair of A and B, caching usually hits for both, but sometimes not for B, and very rarely for neither. Retool also seems to also have fewer cache hits when there are more images involved (ex: A and B, then C and B, C and B, then A and B).
-
Screenshots:
Any help would be greatly appreciated!