removed favicon code from every page
This is fun. Not surprised it’s written from the same person that wrote why websites should be under 14kb
That same person shares my opinion concerning JavaScript: no website should need it.
As for the 14KB rule: I figure that if a web page’s HTML fits in 14KB, then the browser can render the text while fetching CSS and media. Otherwise I don’t worry much about size because my pages aren’t full of videos, audio, or poorly compressed high-resolution images. And there’s no JavaScript at all.
This is great! Although it’s disappointing to see how many social media sites don’t bother to use plain old meta descriptions. (I had already noticed Discourse doesn’t. )
Oh well, I’m not changing things; I have no desire to use the Facebook format (or a combination). Too repetitive!
Inspired by the Zero byte favicon markup guide, I removed the favicon markup from my websites, except for shrines and fanlistings as each has their own favicon.
An alternative tool to make favicons for those who are comfortable using command lines is ImageMagick, which can create ICO format favicons from one source of image file, by converting the source image to multiple resolutions in PNG (for higher resolutions) and BMP (for resolutions 192x192 and below) formats.
That said, I noticed that mobile version of browsers may be unable to fetch a favicon that includes more than one image format, so in my ImageMagick command line, I specified the output resolution to 192x192 as the highest, so the favicon will contain only BMP format images.
What if I want to have weblinks and a chatbox displayed tho :(
It’s your website. Do as you please with it.
than you just do that. only because some random person on the internet thinks website should be as small as possible, does not mean you need to make yours as small as possible! everyone has different belives and opinions, and it’s very important to form your own.
you want something on your website? you simply add that something. it is really that simple.
while some best practices do exist, doesn’t necessarily means you need to follow it.
not every website needs to be mobile responsible, not every website has to be built with accessibility in mind.
at the end of the day, your webiste, your rules. do what would make YOU the happiest. people who like it will come, people who won’t will leave and thats that. the best thing about personal websites is that there are no rules.
i’ve actually known about this functionality for years, including the favicon rel in the head was more because its something im used to (but its now gone from my header)
also, prior to windows 7, you couldve named an ico file autorun.ico and place it in root of internal drives, external drives, etc and after a reboot the icon would change. this was such a cool feature. that i loved as a kid
i think minamal JS is fine, as long as its not resource-intesive. js can be more than useful if not overdone. in my case for an example JS is used to ‘refresh’ the captcha on the guestbook page.
sure user could just refresh the whole page, but this is a little quality of life feature.
js only becomes a problem when it’s used for excessive tracking. using it sparingly is fine
Definitely agree with you and the JS! Of course those bloated corporate sites that load the whole page with JS or use massive libraries, uh, shouldnt do that, but writing a tiny script to do something useful on your site is fine! Js is not inherently Bad
Quite helpful information! I wasn’t aware one could store multiple icon sizes in a single .ico
file!
Neither was I. I’ve been meaning to try it, but I just haven’t had enough MP this April.