[Seaside] How to externalize scriptaculous javascript ?

Vincent Girard-Reydet vincent.girard-reydet at f4-group.com
Tue Jan 9 11:03:41 UTC 2007


Boris Popov wrote:
> I've done this myself to all the libraries here, but I also merged them
> into a single file,
> 
> aHtmlRoot linkToScript: '/other/scriptaculous/all.js'
> 
> If your script fails when you do this, I would recommend installing
> something like Firebug (which everyone should have anyway) and debug the
> JavaScript errors that come up,
> 
> http://www.getfirebug.com/
> 
> Hope this helps,
> 
> -Boris
> 

Thank you, it works just fine !

An interesting remark: removing all link to libraries (even the 
WAStandardScripts library) and moving all scripts and CSS to static 
files allowed me a x5 performance gain.

Vincent


More information about the Seaside mailing list