WordPress.org

Ready to get started?Download WordPress

Forums

OpenBook Book Data
[resolved] Cache implementation for plugin (3 posts)

  1. masterbassie
    Member
    Posted 3 years ago #

    is there any chance you can add some sort of caching system to the plugin to prevent any timeout errors? i find slow connections frequently give me timeout errors. Great plugin otherwise :)

  2. corezion
    Member
    Posted 3 years ago #

    Yeah, I could ditto this. :) Had written something based on this plugin a few years ago and realized it's very slow for building a large page full of books. Had some discussion on the open library mailing list. I think there's a better API to use... might followup someday. :)... in the meantime caching would be really useful.

    Update: just realized he's using the new API now :) Still caching would be good.

  3. John Miedema
    Member
    Plugin Author

    Posted 3 years ago #

    Hi, have you seen the new "HTML" option. When you are in Visual Editor mode, you will see a new OpenBook button that pops up a screen with an HTML option. Using this method, only you make one live api call to Open Library when you generate the HTML; the HTML gets inserted in the post. For the reader, there is no api call, so it loads as quickly as HTML. Works much better for pages/posts with many books. Note: the cover image itself is still loaded remotely but using an img tag which loads fast, not like the api call.

    A minor update is expected for OpenBook soon, but caching is not on the list. My attention is currently focused on the development of a new concept, an OpenBookShelf, one that works more like the Media Gallery in WordPress. It represents a better overall approach to managing book data, including remote load issues. It will take some time before it is ready. Collaboration is invited.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic