Spydre452 Posted September 4, 2010 Posted September 4, 2010 I was looking on the web (google) to help me make my web pages run faster and this is what i found: http://answers.oreilly.com/topic/487-how-to-make-your-web-pages-load-faster/ I'd just like to tell the community just incase some other people in need of little tricks to boost their site's speed up! Thanks, Spydre Quote
Dayo Posted September 4, 2010 Posted September 4, 2010 The most important part of that i would say (the easiest to do) is to reduce image sizes i have just done that to one template im desing was about 10MB before i flattened the png files (reduced it to 1 layer) now it is much much smaller. Plus by flatening the file size i made them 40x smaller (on avarage) plus lost NO quality other then the transparent BG but then my design didnt need it Quote
Spydre452 Posted September 4, 2010 Author Posted September 4, 2010 Ah thanks Dayo for your contribution x] Much appreciated! Quote
Dave Posted September 4, 2010 Posted September 4, 2010 Nowadays Image size is really only a factor on the users first page load, Considering they all get cached in the users browser but they still do play a big part when getting pulled out from the cache I imagine, I'm no expert on how a browsers cache works. If your after the first load and every other page load being quick and consistent you should check out your CSS,HTML,Js and PHP files.. Because for instance JS generally get's "run" before the page loads unless you script it not to.. Which with large amounts off code would cause the site to take an extra few seconds to load up. The same with PHP files, All the code is processed on the server before being given to the user which could take time. In my eyes optimization is all about the efficiency off the code! Quote
Equinox Posted September 4, 2010 Posted September 4, 2010 In my eyes optimization is all about the efficiency off the code! But surely it's more than one aspect? Your code can be enhanced by doing even the smallest things, people will say to you "Why use single quotes over double quotes, the speed difference is worthless", but the fact of the matter is; there is still a difference there, is it contributing? Yes. Images are always a major think with websites, the HTTP requests. And you can obviously lower them with the CSS sprite method - I suggest you learn this, it's handy. Compressing big files, that's always a good call to make. But yeah, it's just about how quickly you can deliver the information to a page for the users, let the background stuff go along whilst you focus on pleasing the users.... Btw Dave, that wasn't all aimed at you, I just used what you said to start me off xD Quote
Dave Posted September 4, 2010 Posted September 4, 2010 In my eyes optimization is all about the efficiency off the code! But surely it's more than one aspect? Your code can be enhanced by doing even the smallest things, people will say to you "Why use single quotes over double quotes, the speed difference is worthless", but the fact of the matter is; there is still a difference there, is it contributing? Yes. Images are always a major think with websites, the HTTP requests. And you can obviously lower them with the CSS sprite method - I suggest you learn this, it's handy. Compressing big files, that's always a good call to make. But yeah, it's just about how quickly you can deliver the information to a page for the users, let the background stuff go along whilst you focus on pleasing the users.... Btw Dave, that wasn't all aimed at you, I just used what you said to start me off xD Some very good points! I wasn't stating there were other area's that would need to be view.. But I've always seen it as how quickly the code executes to be the biggest issue when it comes to page loading speeds! Quote
Equinox Posted September 4, 2010 Posted September 4, 2010 As I said, just quoting you to start me off. Never said you was wrong :D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.