-
Story
-
Resolution: Done
-
Medium
-
None
-
None
When a library registers with the registry it's allowed to provide a logo. We used to serve library logos in the big list of libraries, but the strain put on the library registry by the pandemic put a stop to this, for a few reasons:
- Hundreds of logos are big and make an OPDS feed unmanagably large.
- Even a single logo may be large in terms of its filesize.
- We store logos in the 'libraries' table. When that table contains large logos, it makes certain important queries very slow.
The most likely solutions:
- Move logos out of 'libraries' and into the 'resources' table.
- Restore logos to the endpoints created for the Library Finder project (these endpoints won't be sending hundreds of libraries down the pipe).
- Look into instituting a maximum file-size restriction on libraries that register with the registry, on top of the existing image-size restriction.