page insight already compressed js files

20 views
Skip to first unread message

Filip Luca

unread,
Feb 26, 2016, 5:56:47 PM2/26/16
to pagespeed-insights-discuss
Page insight is telling me to compress files which are already compressed with uglify.

Joshua Marantz

unread,
Feb 26, 2016, 7:13:11 PM2/26/16
to pagespeed-insights-discuss
A tool like 'uglify' probably just removes the whitespace and comments from the JS file.  This is usually referred to as "minification".

"Compression" means to pass the file through gzip, which is supported by all major web servers with a simple configuration file command.

It is beneficial to do both: minify and then compress.


-Josh

On Fri, Feb 26, 2016 at 5:56 PM, Filip Luca <filip.l...@gmail.com> wrote:
Page insight is telling me to compress files which are already compressed with uglify.

--
You received this message because you are subscribed to the Google Groups "pagespeed-insights-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pagespeed-insights-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pagespeed-insights-discuss/f944bbba-da0e-49a0-989a-f40ef9a97d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Filip Luca

unread,
Feb 28, 2016, 10:52:45 AM2/28/16
to pagespeed-insights-discuss
Thank you for the response.

I did that and now it works.
:)
Reply all
Reply to author
Forward
0 new messages