This is not a web2py specific issue. A js can be served as a static file or as a dynamic page (perhaps cached). In the latter case you can call a library to do compression. To me this an un-necessary complication and performance issue. Compress first and have the web server serve the compressed file as static.
On Jan 31, 9:44 am, Richard Vézina <[email protected]> wrote: > Hello, > > I am wondering if web2py has a mechanism to combine JS files and compressed > them... > > http://stackoverflow.com/questions/1199470/combine-javascript-files-a... > > Could be a nice feature. > > Richard

