Do you think that a light web page a lot of compromise by the developer ? When you refer that work to someone, there is a good chance that they will misinterpret your skills due to how lean you went with the particular work..
Abhi Do you think that a light web page a lot of compromise by the developer ?
No. Quite the opposite in fact. If you look at most developer's pages, they are simplistic in the sense that they are looking to promote services and push a specific message across. Promoting yourself as a developer with a site that takes 5 seconds to load doesn't make any developer look very good.
phenomlab they are simplistic
Sounds like a plan
phenomlab with a site that takes 5 seconds to load doesn't make any developer look very good.
What is your mark ?
Abhi 1.9s currently without cache. With cache, around 630ms so less than one second.
That is wonderful. Do you do well on Google ? It should really help with a fast page loading speed.
What about a few images on your website home page ? Don't they slow you down ? I wonder how you still maintain something below 2s.
Abhi easy. Only use images that do not need to be scaled, and use webp format where possible.
phenomlab Only use images that do not need to be scaled
How do you manage to get it to work for different screen sizes ?
phenomlab use webp format where possible.
This is new to me. webp is light ?
Abhi How do you manage to get it to work for different screen sizes ?
You make the image a set size so that it will fit into a container that supports grid layouts. Any resizing required is then minimal to the point where it affects neither the image quality, or the size of the file.
I always try to avoid images on home page. Never really got the trick to make it SEO friendly. Once you try that, a hundred other problems come up. For example webp is not supported in all browsers.
admin For example webp is not supported in all browsers.
The way around that is to establish a fall back so that if the browser doesn't support the format, it'll render with jpeg instead.
phenomlab Sounds good to me. But won't that kill our concept of a light page ?
admin no. Why should it ?
phenomlab One more image, more code 🤔
What size do you use for a website like this ? I take refuge in
background-size; cover;
Abhi always cover. Otherwise you land up with strange behaviour
admin code won't be the issue, but the overall image and page size might be.