Do not know much about coding?
Go to minify js tool to reduce site size without any coding headache.
|File||Original||Minified||Gzip||Min + Gzip|
Why are drupal.js and jquery.once.js smaller when they are reduced?
One thing that surprised me immediately was that drupal.js and jquery.once.js are smaller than tablets with gzip. These two files have a lot of fantastic documentation on them. When a file is minimized, it is deleted because it is not necessary for the functionality. When the file is compressed with gzip, all this text is compressed and sent. Well documented files like these can really benefit from being minified.
Minify js: Total savings files
The savings between gzip compression and gzip plus reduction is 44067 bytes. If you think you have 10,000 downloads of this file package per month, that will save you 420 Megs of bandwidth savings in a month. There is no small amount. Although drupal.js and jquery.once.js are small, we have a bandwidth savings of more than 3 Meg for these two files at 10,000 downloads per month.
Minify js: Round trips saved
The real fun begins to appear when we look at the round trip requests. To understand why this is important, I would first suggest reading TCP and the lower limit of Steve Souders' web performance, where he talks about the connections, the slow start of TCP and its importance. In short, when a browser obtains a file from a server, it does so in several round-trip requests. Each of these round trips has a delay in communication between a browser and a server. In mobile networks, this delay can be several times greater than that of a cable connection for each of the round trip requests. Therefore, to speed up the performance of an individual user, it can be useful to eliminate unnecessary requests.
- Original: 156297 bytes
- Minified: 97984 bytes
- Gzipped: 53810 bytes
- Min + Gzip: 37698 bytes
This produces a savings of:
- 15.7 Kb per download.
- 1 round trip per user.
Read More: PHOTO CROP ONLINE: WHY SHOULD YOU USE IT?