Dor Rotman
Dor Rotman

Reputation: 1551

Should I compress my JavaScript files if server support HTTP compression?

My server supports HTTP compression. Is there any advantage to compressing my JavaScript files? (not minifying them)

Update and clarification to what I mean:

Upvotes: 1

Views: 666

Answers (1)

ulisesrmzroche
ulisesrmzroche

Reputation: 145

Compressing your JS file will lead to, as Ian answered, smaller size and thus faster downloads. This is really a must-have for people coming from mobile devices or low-internet speeds(say at a free wifi spot, for instance).

Upvotes: 1

Related Questions