[Agile Platform] Optimise code generation, to improve website performance.
1584
Views
13
Comments
On our RadarOn our Radar
Backend
  • Minify CSS
  • Minify Javascript
  • Combine Images into CSS Sprints
  • Combine external javascript into fewer files.
  • Enable Gzip compression

All the javascript files should also be combined into a single file.
2016-04-21 20-09-55
J.
 
MVP
I like this very much, but it should be optional.
for debugging purposes it's horror to have it minified.
Agree.

To maintain the debug functionality, all this (or at least the minify css and javascript) should only be done when publishing to production mode.
2016-04-21 20-09-55
J.
 
MVP
./bump


Outsystems themselves is telling us to minify js in their performance-tips pdf.

We can do it manually, but if we do, we have to have a seperate version-control and maintenance to keep our javascript up to par, while Outsystems themselves provide already a rudementary version-control.

Further more, remove all the comments, so it becomes more difficult the find out what libraries Outsystems we are using.

It would be good to optimise and minify all code while outsystems platform is in production mode.

Otherwise in development mode, leave code in readable format for debugging purposes.

(Technically it can be done!)


Since we have no option to define which javascript platform files to be included, could we have them in a single minified file?

Merged from 'Concatenate all the platform's javascript files' (idea created on 2011-07-23 09:54:03 by André Ramos), on 2017-08-22 11:02:52 by Hugo Jorge
2016-04-21 20-09-55
J.
 
MVP
similar to this idea: https://www.outsystems.com/ideas/702/

Merged from 'Concatenate all the platform's javascript files' (idea created on 2011-07-23 09:54:03 by André Ramos), on 2017-08-22 11:02:52 by Hugo Jorge
Merged this idea with 'Concatenate all the platform's javascript files' (created on 2011-07-23 09:54:03 by André Ramos)

This is still very relevant. 

I'd add purging unused CSS such as classes from OutSystemsUI.

It's the default (or an option away) in many high code frameworks, including ReactJs. 

Any updates?

To quote Tiago:

This is still very relevant. 

Any updates?


Original post is 2011, It is on the radar.... 
Minify on the OutSystemsUI CSS (and others) on the production environment, could help a lot in getting better performance and Lighthouse scores, even in a simplified version of minify.

Perhaps it can go a little bit closer on the radar screens :D:D:D

From this announcement, seems like we're getting this!

Unfortunately, the scope seems limited to only javascript files in ODC. Would be nice to have it for O11 and CSS files as well