Jump to content
MakeWebGames

How to make your web pages load faster!


Recommended Posts

Posted

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

Posted

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!

Posted
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

Posted
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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...