Jump to content


Total size for HTML5 banner ad.

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

I'm trying to come up with some aprox. file size numbers for a client on an estimation for a banner ad.

So if I use GreenSock it would be:

TweenLite.min.js = 26 KB

EasePack.min.js = 5 KB

CSSPlugin.min.js = 35 KB

That's the bare minimum I would need right?


Link to comment
Share on other sites

  • Solution

Yes those are the bare minimum files I would suggest, however you could get away with dropping EasePack.

Those appear to be the uncompressed sizes.


The banner networks should be hosting compressed (gzipped) versions of those files which weigh in at much smaller sizes.

Basically the server sends a compressed version of the javascript and the browser unpacks it. This does a lot to save bandwidth and decrease load time.

Most large networks should be employing this type of delivery.


Take a look at the "customize" section of our download overlay to see the compressed file sizes.



Its closer to 17kb total.


Also, from talking to the industry leaders who are trying to formalize some HTML5 banner guidelines, the word on the street is that for HTML5 banners the file sizes should be around 100kb after ALL assets (js, images, fonts, html, css) are zipped. At this time, there is no real "standard" to speak of and requirements seem to vary based on who you are working with.


For some more interesting thoughts regarding GSAP, banners and file size, there are some nice nuggets here: http://greensock.com/forums/topic/7227-greensock-js-and-doubleclick/

  • Like 1
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.