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
-~----------~----~----~----~------~----~------~--~---

Reply via email to