Laravel-Backpack / basset

Better asset helpers for Laravel apps.
MIT License
155 stars 11 forks source link

Why does the outputted script type have a hash? #77

Closed tabacitu closed 1 year ago

tabacitu commented 1 year ago

I noticed on https://demo.backpackforlaravel.com/admin/login that the outputted scripts look like this:

CleanShot 2023-08-02 at 15 57 46@2x

@promatik why is the type="2559f5b228d9cebdf685edf1-text/javascript"? Is this intentional or by mistake?

pxpm commented 1 year ago

It seems to me to be a CF thing.

promatik commented 1 year ago

Yes, it looks like CloudFlare is doing some nasty stuff there 😅 It's the Cloud Flare rocket loader who's adding that there; https://community.cloudflare.com/t/script-tags-type-attribute-hash-prepended/145679

tabacitu commented 1 year ago

Pfiew! Ok fine thanks guys!