Just a fun little site to compare the amount of www sites and no-www sites
WHY Google Chrome 69 kills off www in URLs?
To run this locally, clone the repo and use Yarn or NPM to install the dependencies. (You’ll also need Node.js installed)
git clone https://github.com/h404bi/is-www-used-more-than-no-www
cd is-www-used-more-than-no-www
yarn
Start a dev server on http://127.0.0.1:8080
yarn dev
To build for prod, run the following:
yarn build
Edit sites.json
file, add your site domain to corresponding array.
Please keep the domains array unique sort, then open a pull-request and wait. :D
FAQ: how to see a site is using www or not?
Use curl -I <domain>
to see the response header, and your browser to determine it! e.g.:
$ curl -I https://www.twitter.com
HTTP/1.1 301 Moved Permanently
content-length: 0
date: Sun, 09 Sep 2018 08:50:56 GMT
location: https://twitter.com/
server: tsa_k
...
- The original source code is forked from hasvuepassedreactyet.
- The icon is from Flaticon.