Comments (5)
We're using just a bit of jQuery's power, and probably it is smarter to build a custom version of the jQuery library (which would only be containing the methods and functions we need). This change could save us a serious amount of kilobytes.
It depends whether the CDN version of jQuery is in the cache or not. Also, I don't think it's worth it (at least not until it's done automatically), plus, we can optimize in other ways!
If you look at the network requests you can see that the requested avatar images are quite large:
My avatar alone is 115.84 KB
.
By changing the URL from:
https://avatars.githubusercontent.com/u/1223565?v=2 (115.84 KB
)
to something like:
https://avatars.githubusercontent.com/u/1223565?s=30 (2.82 KB
)
you get a 113.02 KB
reduction just from one single image.
@arthurvr Wanna do a PR that does what is described above?
from h5bp.github.io.
@alrra I agree. I open a PR in a few houres.
from h5bp.github.io.
@alrra How are you about updating to jQuery 2.x? We could load that over a CDN.
from h5bp.github.io.
I open a PR in a few houres.
@arthurvr When you have time!
I feel like we don't need support for IE8, the visitors of this site are mostly using a modern browser
How are you about updating to jQuery 2.x? We could load that over a CDN.
@arthurvr well... yes... I guess (we don't have any usage data for h5bp.github.io)
from h5bp.github.io.
we don't have any usage data for h5bp.github.io
It's time for google analytics, then.
When you have time!
from h5bp.github.io.
Related Issues (11)
- h5bp.github.com => 404 HOT 1
- Images not loading HOT 6
- Design issue with long repo names HOT 2
- Amount team members incorrect?
- SVG and PNG downloads are not identical HOT 4
- Add "Help Wanted" section
- Each project should have links to both GitHub repo and projects homepage
- Use 'main.css' for this site HOT 3
- Add Opengraph Meta tags
- API Rate Limit Exceeded HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5bp.github.io.