New javascript minifier for CMS pages

Community Manager

We’re upgrading our javascript minification to use terser. The new JS minifier should in most cases shrink javascript file sizes further than the previous minifier.

What’s happening?

HubSpot CMS sites get the benefit of automatic javascript minification to improve page load time. We’re upgrading this minification. This affects only newly created javascript files. So all new javascript files should be better optimized than files before this change.

When is it happening?

This is now live. You won't need to do anything. All future javascript files from the release date onward use the upgraded javascript minifier. If you wish to upgrade a script to use the new minifier, you would need to copy the code from the existing file into a new javascript file. 

 

View the changelog post.

Jon McLaren

Sr. CMS Developer Advocate

If my reply answered your question, please mark it as a solution, to make it easier for others to find.

0 replies

No replies on this post just yet

No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.

Reply to post

Need help replying? Check out our Community Guidelines