Jump to content

Displaying outdated JavaScript in modern browsers


Adlago
 Share

Recommended Posts

To increase site performance, and to improve loading speed, I think it's time to remove java script codes used in obsolete browsers.
Here is an example from a test - removing these obsolete java scripts will reduce the volume by about 11 kbps. or this will shorten the java script download time by about 150 ms

976707882_Screenshotat2020-09-09220711.png.14af1a9b306f76781e187a0b868a6abd.png

Link to comment
Share on other sites

11 minutes ago, Rikki said:

Those files aren't obsolete - they are the foundation of our framework. What your tool is finding is polyfills for old browsers that libraries we use (such as jQuery) include. 

These results appear only in a mobile performance test. Is there a way to reduce javascript for mobile browsers?

Link to comment
Share on other sites

3 hours ago, Mr 13 said:

You (IPS) can load polyfills only when they are needed and don't waste the traffic for the majority of browsers.

We don't load (many) polyfills ourselves - they are included with libraries that we use. Those libraries will only execute them when needed, but the code is still sent to the browser since we bundle and minify javascript.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...