1 points · by alxmrph · 14y ago · 5 comments
Well, this got me thinking. Would it be possible to load different site designs based on the internet connection speed of the user? Basically something similar to that of the way we utilize certain style sheets (CSS) based on screen size.
P.S. Just as a heads up I am new not only to HN, but the entire programming world. I have intermediate knowledge in HTML & CSS, and I've just started learning JavaScript. If anyone has tips or advice I would love to hear from you!
Respect, Alex
What you need to remember is that you should only 'load' what you need. Don't load a 1920x1200 size image if you're only displaying it as 240x150. Combine your stylesheets, create sprite images, load only javascript you need - try to stay away from flash and similar embedded objects. Make sure your files are served compressed (except images) and that proper caching is in place.
You can't always blame the technology.
This doesn't mean aim for a really big, rich design that takes forever to load, it just means that you shouldn't have to compromise for the micro-minority.
About web development tips, read as much as you can about JavaScript and go with Node.js for the server. :D
Respect, Alex