Large JS file is slow to view/edit. Any solutions?

Just wanted to ask if there is anything I can do to speed up editing for my javascript file. My laptop has 8GB RAM with Intel Core i7 (fast)

-Thomas

0
4 comments

How big is the file (lines)?

0

You can disable the real-time inspections - that's the biggest issue. Is the file local or on a network drive?

0
Avatar
Permanently deleted user

It's a local file. It has alot of compressed code in it for page load optimisation reasons. Perhaps a solution could be to seperate the compressed library code and then embed it again before production, but its bit of hassle.  I'll figure something out, thanks

0
Avatar
Permanently deleted user

Yes, I would suggest to work on 'debug' version (split) and then combine/minify during build phase.

Kirill

0

Please sign in to leave a comment.