Share Posted October 17, 2014 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 More sharing options...
Share Posted October 17, 2014 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. http://prntscr.com/4x2l60 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/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now