Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

find.js should have a defer attribute

Fixed in

EPiServer.Find 14.2.4

(Or a related package)

Created

Sep 23, 2022

Updated

Jan 03, 2023

State

Closed, Fixed and tested


Description

Fixed an issue where find.js hurt the Google pagespeed score because it blocked page loading. A defer attribute was added to the script tag so it can be downloaded in parallel to the HTML. 

Note – This was done only for Find API v14.x because the ability to add attributes in the ClientResource class was added in CMS 12.1. (See CMS-18710)