
JTDev
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by JTDev
-
-
I'm currently using TweenMax.min.js. I need to do some file size crunching for a banner I'm working on. I've loaded the following files which saves me about 21KB instead of using TweenMax.min.js (90KB).
<script type="text/javascript" src="plugins/CSSPlugin.min.js"></script><script type="text/javascript" src="easing/EasePack.min.js"></script><script type="text/javascript" src="TweenLite.min.js"></script><script type="text/javascript" src="TimelineLite.min.js"></script>Here are my questions:1. Is there anything else I can do to further reduce the overall file size?
2. I didn't experiment yet but can I move the CSSPlugin and EasePack files into the root with TweenLite and TimelineLite?
3. Do the files need to load in a specific order?
GSAP JS APIs & file sizes
in GSAP
Posted
Thanks, that's what I figured but wanted to confirm.
Regarding file sizes, the banner is for a website and I'm just trying to optimize as much as I can. There really are no restrictions.
Nice job on the library, this saved me a lot of time!