Comments (4)
According to the web apge you linked to, the website is fully loaded within 600 ms. Pagespeed Insights also shows a 100% score on both desktop and mobile. I suggest we close this issue.
from hstspreload.org.
According to the web apge you linked to, the website is fully loaded within 600 ms. Pagespeed Insights also shows a 100% score on both desktop and mobile. I suggest we close this issue.
The website is loaded quickly only if you are in the US. Elsewhere, it takes 1 to 3 seconds. Also, minification isn't just about speed. It's about reducing the amount of data that needs to be sent to get the web page to load. Generally, minification is just good practice and should be done by every website by default (ideally) rather than done as seen fit.
from hstspreload.org.
Modern full-site minification often takes a fairly complicated pipeline, which can mean a lot of files, multiple toolchains, potential deployment hurdles, mismatch between development and production, portability/contributor barriers, vuln alert management, etc.
hstspreload.org currently already has a 100% Lighthouse score. That doesn't mean there's no room for improvement, but compared to a lot of other sites:
- hstspreload.org has fairly few and light resources (<15kB total, excluding the favicon),
- has a pretty readable and functional layout without CSS, and
- is needed once in a while by developers, who on average will have serviceable internet and don't rely on the site to be lightning fast for their everyday work.
I think it might be worth trying to make sure the server sends gzip
responses, but I would argue that trying to minify the resources would not be worth the maintainability cost.
I would also be surprised if minification would make a huge impact specifically outside the US. I gather that latency would be a bigger issue — slow connections in the US would have the same issue if 20kB vs. 10kB makes a big difference. If we want better performance outside the US, it would probably be better to use CDN functionality in Google Cloud, or to split out the static parts of the site into static hosting with a CDN in front — but I also think that's more maintenance trouble than warranted, unless we hear of specific issues way beyond 1-3 seconds that could be fixed this way. 1
Footnotes
-
Since I live in the US, I can't talk that authoritatively about connections outside the US, though. ↩
from hstspreload.org.
(Just to be clear: I'm not saying that it's bad to advocate for minification in general — it was good to ask! Many sites would benefit from shipping fewer bytes from the frontend, and minification can be a valuable tool for that. My argument was based on this particular situation.)
from hstspreload.org.
Related Issues (20)
- Where is the list for hsts preload domain ? HOT 2
- [Feature Request] Support .name Top Level Domain with third level registration HOT 1
- Is a 302 redirect honored? HOT 4
- Cannot pick up the HSTS headers HOT 2
- Unexplained warning HOT 1
- Use GitHub Actions for CI
- "Error: No redirect from HTTP" seems to be wrongly detected HOT 1
- Cannot add lancom.de HOT 1
- An error I cannot understand when submitting the domain travellings.cn HOT 1
- Add FAQ for hstspreload.org not detecting header when other sites do HOT 3
- Change the main branch to `main` HOT 3
- Error: Cannot connect using TLS HOT 5
- chromium-website-ci-builder | Builder HOT 1
- PendingRemoval function has no tests
- Send alert when remove-ineligible-domains cron job fails
- `StatusPendingAutomatedRemoval` is missing from some state transitions
- Preloading using DNS TXT HOT 1
- Ways to preload IP address? HOT 1
- `Strict-Transport-Security` header detected incorrectly HOT 2
- Improve Deployment Recommendations section regarding max-age 2 years HOT 2
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 hstspreload.org.