Support » Plugin: Google Doc Embedder » Possibility to Cache Images/XML returned from GDE for faster loading

  • Resolved Dan Rossiter


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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).


    Gonna mark this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possibility to Cache Images/XML returned from GDE for faster loading’ is closed to new replies.