Appreciate your time & comments, John. Couple of follow-up questions, if I may. Did you make the "file based search and replace" changes *AFTER* following the wiki page instructions? Specifically, did you set useLocalResources = true? Would I need to separately locally host "SimileAjax library" mentioned in the wiki page?
Thanks again, -Mark On Oct 21, 10:45 am, John Callahan <[email protected]> wrote: > Hi Mark, > > I had to go into some of the js files and explicitly point to my local > distribution in a few places, particularly for the extensions. I > forget exactly which ones now... :-( Just a file based search and > replace over the entire distribution helped me a lot. (something like > Notepad++ would work for an easy windows based GUI although a decent IDE > should do the same.) > > Once you go production, I would create a local bundle using Apache ant. > I doubt if it helps much once the file sare in the browser cache but > should help with the initial load. > > ************************************************** > John Callahan, Geospatial Application Developer > Delaware Geological Survey, University of Delaware > URL:http://www.dgs.udel.edu > ************************************************** > > mleden wrote: > > We've been using Exhibit for about a year now and continue to find it > > a robust and elegant solution. However, like most of us, I'm trying > > to squeeze every last drop of performance out of the tool. Initially, > > we were loading the JS libraries & resources from either the mit or > > simile-widgets domains. However, some months back I deployed those > > resources on our internal web server and made the appropriate changes > > in our pages. > > Profiling the performance of our pages now with Firebug, I still see > > about 20 GET requests to api.simile-widgets.org for the following > > resources: > > simile-ajax-api.js > > simile-ajax-bundle.js > > signal.js > > graphics.css > > timeline-api.js > > timeline-bundle.js > > timeline-bundle.css > > labellers.js > > timeplot-api.js > > timeplot-bundle.js > > timeplot-bundle.css > > On our webserver, I have: > > simile-exhibit directory including exhibit-api.js, exhibit-bundle.css, > > exhibit-bundle.js, manifest.json files and the following populated > > subdirs: > > extensions > > images > > locales > > scripts > > styles > > > I can see that many of those "local resources" are getting loaded. > > How can I eliminate the remaining calls to simile-widgets.org? > > > I did try to use this document as a guide: > >http://www.simile-widgets.org/wiki/How_to_use_Exhibit_offline#Prelimi... > > However, I was unable to get it working and noticed that it still > > references the old mit.edu domain. > > > Thanks for suggestions, > > -Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
