-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
SIMPLY S7 March 17 - March 31
The vast majority of our 2.6-megabyte library feed is inline logo images for our 100+ libraries. If we didn't send those images, this feed would probably be less than 100k. Taking it down to 100k will dramatically increase the scalability of the library registry because the app server will be spending less time sending JSON out over the pipe.
The decision to put these logos inline made sense at the time, given that we were expecting to very shortly be serving feeds of no more than 5 or 10 libraries. Even now, it makes sense, given that the alternative is hundreds of separate HTTP requests to the library registry for tiny images. But right now I think hiding those logos altogether is the best thing we can do for request-by-request performance.
The user-visible result of this change is that all libraries will lose their logos in the big SimplyE "choose your library" list. Patrons will need to navigate solely by looking for the name of their library.
The https://jira.nypl.org/browse/SIMPLY-1778 fix will help, but only by about 25%, because image data is already compressed. The Cache-Control tickets like https://jira.nypl.org/browse/SIMPLY-2663 should also help quite a bit.