-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update js deps and move to unveil on cdn #2893
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps use jsdelivr for all scripts to minimize time spent on looking up and connecting to various cdns?
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.2.13/dist/semantic.min.js" integrity="sha256-Bhi6GMQ/72uYZcJXCJ2LToOIcN3+Cx47AZnq/Bw1f7A=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/unveil2@2.0.8/src/jquery.unveil2.js" integrity="sha256-TJeKT7YYibjK/MKACXmyJbZzKgIASoiFZqYrySyh1cQ=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/jets@0.14.0/jets.min.js" integrity="sha256-0wXdZ7VL+Nng2jfkSxgChagPiF6ZzDToGwzomq/AfBw=" crossorigin="anonymous"></script>
@mxxcon all libs now available on cdnjs |
You probably wanted to use minified version?
|
@PSGS i'm now seeing superbad jquery times on page processing (didn't see this before, might be something new in chrome since this came out). are you seeing the same thing? might want to revert if this is the case |
What did you do on the page to get that performance? I'm browsing and searching the page without issue in Firefox 59.0 32bit. |
this is when it's locally loading from i think it's not liking my local serving now (something with new jekyll or something else that i have no idea about), i just want to make sure that it's an issue confined to my local system and not something more systemic that we need to revert |
fixed by #3090 |
Hello, It looks like the jQuery Unveil plugin is running some sort of recursive QuickSort algorithm that's chewing up resources. As the Unveil plugin is no longer maintained and doesn't seem to be versioned very well, I would suggest moving to jQuery's lazy loading library (proposed in #3090). I can confirm this issue does not present itself as of commit a917e41. Thanks, |
move to
unveil2
oncdnjs
, update all other depsfunctionality verified, should be reviewed again