Jump to content
GreenSock

dada78

Size of libraries

Go to solution Solved by Carl,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi guys,

 

could you shed some light in regards to the size of the libraries? When I go to the downloads page and I select TweenMax for instance, it indicates 23kb total. Is assume this would be the minified and compressed size? When I however compress the TweenMax.min.js on my desktop it comes in at 35kb. Am I missing something here?

 

Thanks so much!

 

Link to comment
Share on other sites

The file size numbers on the download page are for the CDN, which is gzipped. There's a big difference between minification and gzip, which is typically done by a server and has to be uncompressed by the browser. 

Link to comment
Share on other sites

Hi OSUblake,

yes I am aware that minification and gzipping are different things, that's why I was wondering why the minified, gzipped (compressed) outcome of the minified file comes in at 35kb instead of 23kb?

 

Thanks!

Link to comment
Share on other sites

  • Solution

Sorry, for the confusion.

The numbers on the download screen do need to be updated (will do it very soon)

 

TweenMax is 34.8kb gzipped 

 

wGpe4Gm.png

  • Like 2
Link to comment
Share on other sites

Everything is accurate now. Sorry again for the confusion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×