For adding the In-Website Edit Button we use this script tag . The src (“https://static.cdn.prismic.io/prismic.min.js?new=true”) here does not have a cache header which causes a performance issue (highlighted by Google Lighthouse) as this is a static resource. Is it possible it could be added or is this intentional or are there any work arounds?
Thanks for contacting us, I’m checking this with our dev team, and I will get back to ASAP.
Can you please tell us if this prevents your website to function properly?
It does not break functionality but affects performance.
Ok Mohamed, thanks for the info, we will track this as a feature request but I can’t promise you to tacle this on priority.
I will second this feature request. Sending an additional ~118kb over the wire is definitely problematic for users with slower internet connections, let alone any bandwidth implications for prismic as a business.
Yes I will mention this in the request, Thanks for reporting this issue.