Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Thomas James Thorstensson

TweenLite + CSSPlugin What Is Most Minimal Filesize Configuration?

Recommended Posts

Hello Fellow Greensocks!

 

 

Just finished some iPad banners and been told I need to not use CDN but have the Greensock locally.

 

 

Questions:

 

From the download page, what is the most minimal way to download?

 

After download, is there some other "trick" to make it even more minimal?

 

 

Until next time,

 

 

Snoop,

 

 

Link to post
Share on other sites

Hello Snoop.. I'm gonna move this Topic to the banners forum since it seems like others in that forum could help you answer that properly :)

Link to post
Share on other sites

Hello, hello!

 

Bottom line is what are you using in your banners. The bare minimum I ever used was TweenLite and the CSSPlugin, minified of course.

 

I know you could potentially chop some bits off the css plugin but I wouldn't advise... Other than that, you will potentially get more out of your kilobyte saving efforts from squeezing your larger assets (images, really) than saving  1kb or 2kb from GSAP's code.

  • Like 1
Link to post
Share on other sites
This is a possible offline config:



<script src="scripts/TimelineLite.min.js"></script>
<script src="scripts/TweenLite.min.js"></script>
<script src="scripts/EasePack.min.js"></script>
<script src="scripts/CSSPlugin.min.js"></script>

  • Like 1
Link to post
Share on other sites

Thanks to all that replied and thanks Mr Jonathan.

 

 

Yes I went down the route of using minfied versions of the CSSPlugin and TweenLite and that seems to be the best option :)

 

So, I have marked this as solved!

 

See you around, Greensocks

 

 

Snoop,

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

×