Quote:
Originally Posted by nabsltd
To test, I just "unlinked" a book from all but one Overdrive library, then set only the Overdrive libraries as active, then "Search for selected book", and it still does the author/title search first. I then immediately repeated the unlink and search to make sure that the cache was fresh, but again the author/title search is being done, instead of a simple fetch of the book ID from each library.
So, it looks like you do cache the results within a single search, but not from search to search. What I was asking for was using the cache initially, instead of running the author/title search, which can take quite a while for some authors.
|
Information about each book is cached and used across libraries. By default this information is kept for 90 days for each book, so that if OverDrive makes changes to book information it will be noticed by the plugin eventually. You can change the number of days to cache information in the plugin configuration.
Changing things to work the way that you propose would not make any difference in plugin performance in most cases. When searching for a single book it would still need to make one request per library. Whether it is a search request or a lookup of a book by ID makes little difference. When looking for multiple books by the same author the current way the plugin works is always better.