WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
[resolved] Possibility to Cache Images/XML returned from GDE for faster loading (3 posts)

  1. Dan Rossiter
    Member
    Posted 1 year ago #

    Hey Kevin,

    I've been playing both with your plugin and with the raw functionality of the GDE and found more and more that the response time of their service is sketchy at best and often completely fails.

    I've been thinking that it would be great if the plugin could support the option to cache the images and XML returned from the first call to GDE so that following calls would return the local data without Google re-parsing the document. Basically, after an initial call to the Google API, all future calls would be handled on the user's server. XML, page images, and page count could be stored as post meta values.

    In the project I've been developing, I've already added functionality for retrieving and storing the the XML document and retrieving images should require the same basic process.

    Obviously this functionality would require retrieving & storing the images as well as the XML. Frontend, it would require a rewrite of the JS to retrieve from local files for any cached pages.

    If this is functionality you would be interested in having in the plugin, I would be potentially interested in assisting.

    All the best!
    -Dan

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    I haven't had the experience often that it "completely fails" - though yes, there is a marked impact on performance with the enhanced viewer in some cases.

    I'm interested in hearing more about your idea, and I'm open to collaboration of course. The immediate problem I see with the proposal is that caching images - unless we cache them at their largest possible size - would defeat the zoom capability. Caching the XML is easy enough, but the images could be burdensome even on a few long documents, let alone a library of them at full res. Nonetheless, it's worth some thought. Feel free to get in touch directly (my email address is in gviewer.php in the GPL statement).

  3. Dan Rossiter
    Member
    Posted 1 year ago #

    Thanks.

    Gonna mark this as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic