6
fyzrn
8y

!rant
Guys, will a 150kb minified js package for frontend slow my site down? How large is too large for a frontend script?

Comments
  • 5
    Hmm, probably not too bad. I like to compare my scripts to jquery which is about 90kb. If you really want to test it though, try using an add-on to throttle your net speed and try it out.

    Edit: in chrome you can do it under the network tab of the dev tools.
  • 0
    Oh I forgot to mention, this package won't be the only js I'm using, I'm adding it on top of my custom scripts and other packages
  • 0
    Depends. What does this package give you for 150kb?
  • 0
    @uselesshero multiple variations of interactive charts, though in the meantime I only need the line chart
  • 0
    Are you caching it client-side?
Add Comment