Pixelfed: Please don't use a CDN

Created on 12 Jun 2018  路  5Comments  路  Source: pixelfed/pixelfed

Since a script moved to cloudflare the website doesn't work properly anymore in all cases.

鈿欙笍 Deployment

Most helpful comment

@Sarkasper In 0b85810 I removed CDN assets.

All 5 comments

@Sarkasper In 0b85810 I removed CDN assets.

there's still cloudflare used. Without script profile isn't working

@mglinux I'm having trouble finding any reference to "cloudflare" in the repo using git grep, could you provide more information what you found and where? Thanks!

OK this was misleading sorry. Pixelfed.social is using cl Ajax, so this not related to pixelfed itself. My fault, not a fan of cloudflare 馃構

As far as I can see there is still cdnjs.cloudflare.com used in the admin section.

pixelfed/resources/views/admin/settings/system.blade.php:<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.6.0/marked.min.js" integrity="sha256-Z0oIr+NZFYgsP19IS8I9OHioGTr34whIUMpSNMaKj8o=" crossorigin="anonymous"></script>
pixelfed/resources/views/admin/home.blade.php:<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js" integrity="sha256-oSgtFCCmHWRPQ/JmR4OoZ3Xke1Pw4v50uh6pLcu+fIc=" crossorigin="anonymous"></script>

also here

pixelfed/resources/views/admin/pages/edit.blade.php:<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
pixelfed/resources/views/admin/pages/edit.blade.php:<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

hellcp picture hellcp  路  3Comments

davidpgil picture davidpgil  路  3Comments

hellcp picture hellcp  路  4Comments

NFGman picture NFGman  路  5Comments

Dobios picture Dobios  路  3Comments