Web Design Help
It's free to register, to post a question or to start / join a discussion
any suggestion about my site speed and color?
Likes # 0
Posted April 15, 2009 at 10:02AM
BiDigitalFrames.com
That's my first site based on zencart, i do not know too much about site design and development via php, just get help from somebody, then guys told me that's very ugly, which drive me lose courage.
Meanwhile i host my site at Godaddy.com, but it's very slowly to access in China, since our customers're located in North America,and EU, so i just want to know what's your feeling about it?
Appreciate your reply.
Likes # 0
Posted April 15, 2009 at 8:16PM
It uses 10 HTTP requests before counting the images: that's bad practice, totally unnecessary and HTTP requests are a *major* contributor to server response and page load times. Neither the CSS files nor the JS files are minified - omitting that method doesn't help either.
Likes # 0
Posted April 16, 2009 at 3:52PM
Thanks Fourm,we also realise what are you mentioned rencently,we'll modify pictures to small,medium,and large types of them all to meet the require of shopping site!
Kemistri,i'm not very sure about what you said,but i'll try to figure it out with our developer applying with your suggestion.
Likes # 0
Posted April 16, 2009 at 4:33PM
In basic terms, HTTP requests are made by browsers every time they need to fetch a file (of any kind) that has not already been requested and consequently cached (excepting users who disable caching). This includes CSS, JS and images (including any that are called by the CSS or JS rather than the HTML files).
This is why we typically follow this best practice:
- Use only one or two stylesheets and keep conditional stylesheets to a sensible minimum. Never more than one stylesheet - plus any conditionals - for the index page.
- Use one or two JS files and if you use a library (as most of us do now) call it from Google APIs instead of your own server.
- Minify all code when it is ready to be published. This means removing any unnecessary spaces, returns, empty lines, etc. Minfiying tools and websites are widely available.
- Learn how to write really efficient code that does what you want with less. Use a good JS library for that purpose. It applies to PHP as well.
- Be careful with CSS structure - don't repeat declarations unnecessarily by keeping specificity to a minimum.
- Avoid calling files with @import if at all possible. Evidence shows that it is less efficient.
- Use a good quality hosting provider whose servers are reputed to be quick and reliable. Particularly important if there is a lot of server-side code (eg. PHP).
Likes # 0
Posted April 16, 2009 at 4:34PM
And I forgot to include the point that browsers make only two HTTP requests concurrently and therefore have to queue them.
Likes # 0
Posted April 17, 2009 at 2:33AM
i'd say that's very detailed instructions.
let's sum it up:
1.keep it simple and efficient when design our site,including CSS and JS;
2.choose a better hoster for our site to improve the speed;
3.minish the size of the pictures showed in main page.
Do i get the point?
PS:any comments about Godaddy?we're considering changing hoster,what's the better choice?
Appreciate your advice a mass!
regards,
schumi
Likes # 0
Posted April 17, 2009 at 10:02AM
I don't know how good godaddy is, but i use Justhost. So far, they have been cheap and reliable, offering unlimited storage space as well as unlimited domains to run through your account. Worth checking out if you are considering changing.
Love the site by the way. Purely from a 'user' standpoint it looks great!
Likes # 0
Posted April 17, 2009 at 11:28AM
I always advise against cheap hosts that offer unlimited storage and/or bandwidth because you are competing against websites that, for one reason or another, demand that kind of freedom.
You have to question whether a cheap host can afford to invest in the kind of infrastructure that is needed to make such offers without noticeably impacting on performance for all of its customers while more expensive hosts set restrictions. Experience has shown that it's wise to avoid "cheap with no limits".
Likes # 0
Posted April 17, 2009 at 1:34PM
Hi,Buzzard,that's really good news,thanks your words very much!
Dear Kemistri,appreciate all your words that you have given.
i'd say i agree with you much, i won't host my site somewhere just because it's cheap or anything else,i must take speed,after service and stability in consideration,and above all,i only get what i really need!and pay what i should!
thanks you all!
Reply to this topic
This thread has been locked.
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
Samsung Galaxy S4 vs Apple iPhone 5 comparison review
-
Best cases and covers for the new iPad: protect your tablet in style
-
What’s the best mobile OS: iOS, Android, Windows Phone 8 or BlackBerry 10?
-
How to set a song on your iPhone as a ringtone
-
Apple iWatch release date and specs: when will Apple's iWatch launch



