Back to updates
Enhancement
Website management

Per page JavaScript

Webflow now ensures each page on your site only loads the JavaScript it needs to function and offers new capabilities to further improve site performance.

Per page JavaScript

<p id="">When the success of your business hinges on the performance of your site, every page load counts. Webflow is now offering a set of functionality aimed at improving page load time and site performance — factors in determining Lighthouse scores — while helping to address complexity in your site builds.</p><p id=""><strong id="">What’s new?</strong></p><p id="">‍<strong id="">Per page JavaScript:</strong> We now ensure each page on a Webflow site only loads the JavaScript (JS) resources it needs to function, instead of using a single site-wide JS file.&nbsp;</p><p id="">‍<strong id="">Asynchronously load JavaScript:</strong> Serving as a further optimization of per page JS, we now offer a new feature toggle that can be enabled to asynchronously load JS for each page to improve load time. <em id="">Note: While this functionality can improve page performance, it may prevent custom code from running as expected. Review our </em><a href="<https://help.webflow.com/hc/en-us/articles/38265301927059>" id=""><em id="">documentation</em></a><em id=""> to determine what’s best for your site.</em></p><p id=""><strong id="">How do I access this functionality?</strong></p><p id="">This functionality is now enabled on all existing accounts.</p><p id=""><strong id="">The Asynchronously load JavaScrip<em id="">t</em> feature toggle is disabled by default and is only available on paid Site plans or paid Workspace plans. Access to enable this feature is offered under the Advanced publishing options and is accessible to a Workspace owner/admin and/or Site owner/admin.</strong></p><figure id="" class="w-richtext-figure-type-image w-richtext-align-fullwidth" style="max-width:2560px" data-rt-type="image" data-rt-align="fullwidth" data-rt-max-width="2560px"><div id=""><img src="<https://cdn.prod.website-files.com/64f9399ca7d13575ff21a675/67ca2ee26161c8bb16a0ddaaPerPageJSCSS1280x720.jpg>" loading="lazy" alt="__wf_reserved_inherit" width="auto" height="auto" id=""></div></figure><figure id="" class="w-richtext-figure-type-image w-richtext-align-fullwidth" style="max-width:2400px" data-rt-type="image" data-rt-align="fullwidth" data-rt-max-width="2400px"><div id=""><img src="<https://cdn.prod.website-files.com/64f9399ca7d13575ff21a675/67ca2ef263bdaa7c2397f665PerPageJSCSS2400x1700.jpg>" loading="lazy" alt="__wf_reserved_inherit" width="auto" height="auto" id=""></div></figure><p id=""><a href="<https://help.webflow.com/hc/en-us/articles/38265301927059>" id="">Visit our Help Center to learn more.</a> </p>


Launched on
February 18, 2025
Category
Website management

Related updates

Easily apply winning variations in Optimize

Easily apply winning variations in Optimize

Learn more
Safely scale content collaboration with CMS Collection access control

Safely scale content collaboration with CMS Collection access control

Learn more
Introducing The Webflow Way: Best practices to help you build with confidence

Introducing The Webflow Way: Best practices to help you build with confidence

Learn more
Interactive Clickmaps in Webflow Analyze

Interactive Clickmaps in Webflow Analyze

Learn more
Optimize base components using the AI Assistant

Optimize base components using the AI Assistant

Learn more
Optimize conflict resolution flow

Optimize conflict resolution flow

Learn more