Using the Minified Version of Pipe.js
The minified version, pipe.min.js, is a more compact version of our 2.0 embed code pipe.js. It is smaller, so it will load faster for your website users. This is especially helpful for users with a slow Internet connection.
As I write this, the non-minified version is 109.4 KB (after gzip compression), and the minified version is 75.5 KB (roughly 31% smaller).
The functionality remains the same, but with the added benefits of a smaller JavaScript file.
To switch to the minified version simply replace pipe.js with pipe.min.js in the src attribute of your <script> tag:
- when loading from our AWS powered worldwide CDN:
<script type="text/javascript" src="https://cdn.addpipe.com/2.0/pipe.min.js"></script>
- when loading directly from our EU delivery servers:
<script type="text/javascript" src="https://s1.addpipe.com/2.0/pipe.min.js"></script>