Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-02-2009 02:16:31

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

((( How to reduce website loading time? )))

Is there another way to reduce the loading time of my website besides upgrading the hosting plan? Is there anything that CCP6 can offer in this regard?

As always, thank you kindly for your comments and suggestions.

P.S. Getting a dedicated or virtual dedicated server is not an option at this time.

Offline

 

#2 08-02-2009 03:12:52

sleeper
Member
Registered: 10-29-2004
Posts: 332

Re: ((( How to reduce website loading time? )))

The easiest way is to reduce overall file/download size.

For exampe some of your thumbnail images are 70+ kb each, you have a page of 10 of those and other imagery and you have 1mb of download data, try and keep you page sizes in the very low hundreds or less.

Start by producing dedicated thumbnail images rather than using the large one and scaling down, will make a massive difference.


- Steve


Specialists in ClickCartPro Design

Offline

 

#3 08-02-2009 10:48:32

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

Thanks Steve. So are you suggesting I should create special thumbnails instead of using the regular 480x640 photos? Does that mean I have to create 3 different image sizes for each product? One for "Small Product Image", one for "Large Product Image" and one for " Extra Large Product Image"?

UPDATE:

I did as you said - I reduced the image size of the photos in my home page from about 70kb to about 6kb. So far it looks good but it's only Sunday morning so the traffic is very low. Let's see what happens when the traffic is in its peak during the week : )

I guess I have to create an individual thumbnail for each image which is very time consuming, right? : (

Still, I'm glad I learned something.

Last edited by OutcastGirls (08-02-2009 11:23:32)

Offline

 

#4 08-02-2009 11:51:00

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

Yes you do, that is why ccp has three different image directories, I know alot of work but if you have Photo shop (or other program) you can automate the resizing in a batch mode which makes it a breeze.

John

Offline

 

#5 08-02-2009 12:46:11

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

John,

I tried using Photoshop to batch the resizing but I still have to manually resize each photo... What am I doing wrong?

I have Photoshop CS4. I did File> Automate> Batch. And then I select the folder with the product photos but I still have to individually resize each photo and save it just like if I do it manually without the batch function.

Thanks.

Offline

 

#6 08-02-2009 12:53:48

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

I am not sure what the current windows version is (mine is Mac version 8) but you have to setup an action, "Record" the steps you want done to the image and then run the action in auto batch on the folder(s)/images you want changed placing the newly changed images into a different directory.

John

Offline

 

#7 08-02-2009 14:23:45

lgbsteve
Member
Registered: 04-26-2003
Posts: 182
Website

Re: ((( How to reduce website loading time? )))

I use Xnview, for all my picture resizing. It will do a complete directory at one time.  xnview.com 
It will resize and  save to a directory and it's free.

Last edited by lgbsteve (08-02-2009 14:25:25)


Steve
Collecting Little Golden Books

Offline

 

#8 08-02-2009 15:29:53

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

Steve (lgbsteve),

WOW! This software is A M A Z I N G! I just tried it and I'm very, very happy. I was able to re-size about 70 pictures in just a few seconds.

Thank you so much!!!

Last edited by OutcastGirls (08-02-2009 18:53:23)

Offline

 

#9 08-02-2009 15:39:47

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

Well, this is what GoDaddy send me after I asked them if there is a way to reduce the loading time of my website. They also said that upgrading my hosting plan will not result in decreasing the loading time. Can anyone  please explain it to me in laymen terms? Is this something I can do or should I seek a specialist? Or, is this something that could be improved with upgrading to CCP7 (I'm scheduled for upgrade to 7 next week)? I know nothing about fields and databases:

"Database slowness can generally be caused by the application interfacing with the database or just the amount of content the site contains. You may wish to also look into improving performance by optimizing the fields and tables of your database. All I know from my hosting plan is that I have 25 MySql databases and only 1 has been used so far:

See the link below:

http://dev.mysql.com/tech-resources/pre … index.html

Please note this is not something we can assist you with and is provided as a suggestion.

Please let us know if we can assist you in any other way."


_____________________________________________________

Will it make any difference if I store the product photos on an external drive instead on my laptop as it currently is?

Last edited by OutcastGirls (08-02-2009 18:03:51)

Offline

 

#10 08-03-2009 12:26:39

sydewayz
Member
Registered: 06-17-2009
Posts: 112
Website

Re: ((( How to reduce website loading time? )))

I have godaddy and I experience database access speed issues as well. Very annoying. But what was causing it to be very slow was my skin.php file. I ran it through a validator and received 126, that's right, 126 syntax errors. But the page loaded fine. Fixing it resulted in speed increases of around 150%.

I just ran yours and I got 47. So maybe that will help.

Here is the result, and I hope I'm allowed to link this kind of stuff:

http://validator.w3.org/check?uri=http: … girls.com/

Offline

 

#11 08-03-2009 12:31:20

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: ((( How to reduce website loading time? )))

It's worth noting that, as delivered, every page within CCP is XHTML compliant and will validate correctly.  When you introduce errors you force browsers into what is known as "quirks mode" which means they end up having to guess at what you want which will slow thing down.  Validate often when making changes to avoid getting a pile of errors at the end of your changes.  It's also a good idea to make small changes and validate which makes it easier to fix things as you go.

Also, when faced with a large number of errors, 47 isn't too bad really, one error "real" error may result in hundreds of errors from the validator.

Offline

 

#12 08-03-2009 12:47:56

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

I hope that with upgrading to CCP7 these issues will be resolved.

Offline

 

#13 08-03-2009 13:06:55

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: ((( How to reduce website loading time? )))

What issues?

Offline

 

#14 08-03-2009 13:25:08

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

The 47 errors that Sydewayz is referring to. I haven't personally encountered any problems with the website so far except for the long loading time, but I'm working on replacing the thumbnails with smaller size pictures so this should help a little.

Offline

 

#15 08-03-2009 13:27:59

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: ((( How to reduce website loading time? )))

Those are errors you've introduced while modifying things and CCP can't possibly help you correct them nor can version 7.

Offline

 

#16 08-03-2009 15:51:10

sydewayz
Member
Registered: 06-17-2009
Posts: 112
Website

Re: ((( How to reduce website loading time? )))

Yeah, those errors were created when you changed and customized your website. Out the box, CCP is perfect, as far as validation is concerned.

Just to clarify...

Offline

 

#17 08-03-2009 17:09:28

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

I agree. I was able to fix 1 error and now I'm down to 46 errors and 4 warnings... But most of the errors shown cannot be corrected. For instance:

<center>  should be changed to   <center
</html>   should be changed to   </html
</body>  should be changed to    </body

... and so on. But this leads to even more errors and I'm not and xhtml literate to fix the errors.

Offline

 

#18 08-03-2009 17:34:40

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

There are quite a few errors in the <a href links on the site, you need to change target="blank" to rel="external", you also need to change any ampersands (&) in the links to there html equivalent & amp; (no space in between & and amp;).

John

Offline

 

#19 08-03-2009 19:06:45

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

I finished replacing target="blank" with rel="external"... I'm down to 37 errors and 0 warnings.

Do you know what to replace <p> with? I only used the paragraph to create a space between 2 lines. Is there a better way to do this?

Here's what I got:

The equal sign represents...
<p>
<p>In recent years this sign...

___________________

And also this: …FaceBook.png" alt="FaceBook" border="0"/></a>

Looks like the problem with the above line is in border="0". Should I give it a different value or get rid of it all together?

Last edited by OutcastGirls (08-03-2009 20:43:41)

Offline

 

#20 08-03-2009 22:14:02

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

You can use the <p> you just need to close them </p> xhtml need all tages to be closed and in the order they where opened meaning <table><tr><td><p> blabal....</p></td></tr></table> not <table><tr><td><p> blabla... </td></p></tr></table> (these are just examples).

John

Offline

 

#21 08-03-2009 23:15:56

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

Thank you John! That was very helpful information. I'm down to 3 errors but these I have no idea how to resolve. In the case of the issue with <center> I used the cleaned up code (HTML Tidy) which resulted in the SSL certificate and Authorize.net icons moving to the right, so I used the old code to have them centered. And the other 2 errors were not fixed in the cleaned up markup either - they appeared exactly the same as they are in my code.

Last edited by OutcastGirls (08-03-2009 23:17:15)

Offline

 

#22 08-04-2009 00:00:46

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

You can take care of the remaining errors by removing the border element in the image code, if you don't get the look you want you should try placing the <a href images in <div> tags and give the devision the style you want or even maybe <p> tags with a class with in-line styling.

Remove the center tag as it is doing nothing where it is placed the table your trying to center basically extend from the left side to the right. The cell in that table has a style of center so if that doesn't get what you want you may need to create the row with three cells as one_spacer_cell,second_information_cell,third_spacer_cell, or place something on either side of the table.

Third get rid of the language="javascript" part of the Authorize.net seal just make it  <script type="text/javascript">var ANS_custome...............

with those done you should validate.

John

Offline

 

#23 08-04-2009 01:29:37

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: ((( How to reduce website loading time? )))

No errors! : - )

I was able to validate it (thanks to you, John) but I don't know how to make GoDaddy and Athorize.net go back in the middle as they were before. Needless to say I don't know how to create rows and cells as you have described.

I tried adjusting the table width but that didn't do any good. When I increase the table width only Authorize.net logo moves to the right, but not GoDaddy. I played with valign (left, righ, middle ... no idea what I'm doing really).  I took the last portion of the code from the W3C Validator. This is what I currently have ( I don't know if anything besides the table sizes is relevant) :

</div>
<div class="c4">
<table width="400px" border="0" cellspacing="0" cellpadding="8">
<tr>
<td align="center" valign="middle"><span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com....
</script><br />
<a class="c3" href="http://www.godaddy.com/gdshop/ssl/ssl_extended.asp" ....
<td align="center" valign="middle"><!-- (c) 2005, 2009. Authorize.Net is a registered trademark of CyberSource Corporation -->
<div class="AuthorizeNetSeal"><script type="text/javascript">
//<![CDATA[
var ANS_customer_id ....
//]]>
</script> <script type="text/javascript" src="//verify.authorize.net/anetseal/seal.js">
</script> <a href="http://www.authorize.net/

Offline

 

#24 08-04-2009 06:52:54

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: ((( How to reduce website loading time? )))

At the current you have this for the seals in your skin.php

Code:

<div class="c4">
<table width="400px" border="0" cellspacing="0" cellpadding="8">
<tr>
<td align="center" valign="middle"><span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=bwu3g9Hjb5CHxox2GXnd0mnVH3mzeuvdb3Al55sBLCp2tMQFYSWdhhfBQe">
</script><br />
<a class="c3" href="http://www.godaddy.com/gdshop/ssl/ssl_extended.asp" rel="external">Extended Validation SSL</a></span>
</td>
<td align="center" valign="middle"><!-- (c) 2005, 2009. Authorize.Net is a registered trademark of CyberSource Corporation -->
<div class="AuthorizeNetSeal"><script type="text/javascript">
//<![CDATA[
var ANS_customer_id="6dc1f0a6-84c5-40bc-871e-22cbf0c8fd93";
//]]>
</script> <script type="text/javascript" src="//verify.authorize.net/anetseal/seal.js">
</script> <a href="http://www.authorize.net/" id="AuthorizeNetText" rel="external" name="AuthorizeNetText">Online Payments</a></div>
</td>
</tr>
</table>
</div>

which is a one row two cell table in side a division, you just need to add two more cells. So add them like

Code:

<div class="c4">
<table width="400px" border="0" cellspacing="0" cellpadding="8">
<tr>
<td style="width: 10%"> &nbsp; </td> <!-- added cell with blank space for content -->
<td align="center" valign="middle"><span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=bwu3g9Hjb5CHxox2GXnd0mnVH3mzeuvdb3Al55sBLCp2tMQFYSWdhhfBQe">
</script><br />
<a class="c3" href="http://www.godaddy.com/gdshop/ssl/ssl_extended.asp" rel="external">Extended Validation SSL</a></span>
</td>
<td align="center" valign="middle"><!-- (c) 2005, 2009. Authorize.Net is a registered trademark of CyberSource Corporation -->
<div class="AuthorizeNetSeal"><script type="text/javascript">
//<![CDATA[
var ANS_customer_id="6dc1f0a6-84c5-40bc-871e-22cbf0c8fd93";
//]]>
</script> <script type="text/javascript" src="//verify.authorize.net/anetseal/seal.js">
</script> <a href="http://www.authorize.net/" id="AuthorizeNetText" rel="external" name="AuthorizeNetText">Online Payments</a></div>
</td>
<td style="width: 10%"> &nbsp; </td> <!-- added cell here with a blank space for content -->
</tr>
</table>
</div>

this should get you what you want but you may have to adjust the cell widths.

John

Last edited by dh783 (08-04-2009 06:54:45)

Offline

 

#25 08-04-2009 08:18:41

sydewayz
Member
Registered: 06-17-2009
Posts: 112
Website

Re: ((( How to reduce website loading time? )))

So after all this cleaning up, is your page loading any faster? smile

Offline

 

Board footer