Jump to content


drawSVG in banner ad

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 think a project I will be doing soon will require the drawSVG plugin to animate an svg path.  I know that this is a benefit of the GSAP membership and the files are downloaded from the member area.  


What i would like to know is the drawSVG plugin an additional js file that will need to be included in the creative and therefor its file size or is it included in the file size exclusions that GSAP generally benefits from.



Link to comment
Share on other sites

The reason that the main GSAP files (like TweenMax.min.js) are exempt from file size calculations is because the ad networks consider them sufficiently pervasive (popular) and thus host them on their CDNs and are confident they're be cached by a very large number of devices. But that would not generally apply to the bonus plugins because those are "extras" that aren't pervasively cached (nor should they be) and they're not on the CDNs (otherwise anyone could tap into them for free without signing up for a membership). Therefore, you would need to include them in your creative and factor them into your file size budget. Most of the bonus plugins are pretty slim though, especially considering the amount of functionality packed in :) 


Good luck with your banner ads and thanks for being a member. Happy tweening!

Link to comment
Share on other sites

thanks, do you know what the file size of the drawSVG plugin is? 

Link to comment
Share on other sites

DrawSVGPlugin is about 1.25kb gzipped and minified. 

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.