+1 for removing these entirely. I don't believe they are currently necessary. -- Michael Mior [email protected]
Le mer. 2 juin 2021 à 06:13, Stamatis Zampetakis <[email protected]> a écrit : > > Hi all, > > In the recent votes for Calcite [1] and Avatica [2] there were some -1 > votes regarding minified javascript files present in the source releases. > > The concerns are raised for the following files: > site/js/html5shiv.min.js > site/js/respond.min.js > > From discussions in other lists it seems that there are Apache source > releases including minified files so I don't think we are violating any > policy by including them but there are deferring opinions on this topic > [3,4]. > > To avoid bringing back the discussion to if minified javascript should be > present or not I would like to propose one of the following alternatives: > > 1. It seems that both of the aforementioned scripts [5,6] are used for > compatibility reasons with old browsers. I think most of the people are not > using these browsers anymore so I would suggest removing them altogether > from the code. > > 2. If for some reason we need to keep them then we could directly use the > non minified version. The difference of minified vs unminified for both > files is ~6KB so I doubt it will have any real impact with the internet > connections that we use nowadays. > > What do you think? > > Best, > Stamatis > > [1] > https://lists.apache.org/thread.html/r049cf5b953eb5824ba37df21094dd7c1e92146d659db4735ad121593%40%3Cdev.calcite.apache.org%3E > [2] > https://lists.apache.org/thread.html/r074720fc062bde09a7e69dc77f77754c7fd4c22f1357514f6b2196d0%40%3Cdev.calcite.apache.org%3E > [3] > https://lists.apache.org/thread.html/rcddc30dd1f0c7f20709e09de7202d4d6885d6235a7fce1c1ab46e4ed%40%3Clegal-discuss.apache.org%3E > [4] > http://mail-archives.apache.org/mod_mbox/incubator-general/201805.mbox/%[email protected]%3e > [5] https://github.com/scottjehl/Respond > [6] https://github.com/aFarkas/html5shiv
