public void setCacheComposition(boolean cacheComposition) {
    this.cacheComposition = cacheComposition;
  }
If set to true, all future compositions that are set will be cached so that they don't need to be parsed
next time they are loaded. This won't apply to compositions that have already been loaded.
<p>
Defaults to true.
<p>
{@link R.attr#lottie_cacheComposition}
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java