Hi, http supports gzip as a transport property. As Jonas says, you should be able to configure your webserver to gzip the js, css and your json or xml data files.
The browser will automagically expand the files before giving them to its js/html processor. Regards, Larry Sent via BlackBerry from T-Mobile -----Original Message----- From: Jonas Wagner <[email protected]> Date: Wed, 29 Apr 2009 22:44:14 To: <[email protected]> Subject: Re: Gzipped Timeline? Hello Sebastian, > i am looking to improve the performance of my app for users with low > bandwidth connections (for example mobil devices). Compressing js and > css files with gzip is a good way to do that. Is there any way to do > that with the timeline files? The timeline files are already minified if you use the bundle=true option. Unzip the timeline_libraries.zip file to somewhere on your webserver and put something like this in your html file: > <script type="text/javascript"> > //<![CDATA[ > > Timeline_ajax_url = > "/javascripts/timeline_ajax/simile-ajax-api.js?bundle=true"; > Timeline_urlPrefix = "/javascripts/timeline_js/"; > Timeline_parameters = "bundle=true&defaultLocale=en"; > > //]]> > </script> > <script src="/javascripts/timeline_js/timeline-api.js" > type="text/javascript"></script> If you want to zip it even more, I guess you'll have to configure that in your web server, and the browser has to support gzip encodings, etc... Cheers, Jonas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
