Topic-icon Google Page Speed - JFBConnect Compression Needed

Active Subscriptions:

None
I've been using google page speed for developers. When I publish JFBconnect, our website speed rating goes down and the following messages appear

Consider Fixing:
Minify JavaScript
Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time.

What can be done to fix this as your code is placed on most every page on our site?
The topic has been locked.
Support Specialist
10 years 4 months ago #56521 by alzander
JFBConnect includes one Javascript file on the page. The file itself is 47kB, which is not overly large compared to many other Javascript files. The file is also ready to be cached by a browsers, which means it should only have to be loaded on one page and then on others, it will already be on the users system.

Compressing it would save about 10kB of page load, but also introduces issues for debugging and alterations by end users. Combined with browser caching, the extra 10kB load is bore only on the first page load of your site for a user.

In short, we don't plan to minimize the file and, while it may be reported in optimization tools, it's likely not causing any noticeable delay on your site.

I hope that helps explain,
Alex
The topic has been locked.