The processing time for my project on Google App Engine is about 20 ms for a JSP page. Using HtmlCompressor at runtime (using a JSP tag) to minify the HTML, the processing time increases to about 100 ms. With (embedded) CSS minification turned on, it increases to about 200 ms. The overall size reduction of HTML is 1.6 KB (20 %).

Should I turn runtime minification on or off?

Some more details:

  • With minification I mean removal of redundant whitespaces, etc. This is not about zipping, which is also done.
  • The website is quite simple and used from both mobile and non-mobile devices.
  • What is the usage of your web application and what is the profile of your users? – Ortomala Lokni Sep 23 '16 at 10:05
  • It’s a “how to” website for a common topic. – Marcus Sep 23 '16 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.