Optimizations and size reductions to external assets