Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

SLOW on first visit? Rate Topic   - - - - -

 
  • Guest_Unregistered_*
  • Guests

Posted 07 August 2009 - 04:03 AM #1

I just installed a trial cs-cart 2.0.6 on my dedicated server. There is no load on the server at this time of night.

The first time I loaded the admin panel, it took at least 10-20 seconds for the page to load. Same for the store frontend. Subsequent pages load quickly. If I open a new browser, the first time I load the site, it is super slow again.

Does anyone know why this is happening? I would assume a new customer would experience the same thing the first time they visit. Is this related to the trial license?

 
  • deMarchi
  • Member
  • Members
  • Join Date: 09-Feb 09
  • 64 posts

Posted 07 August 2009 - 11:38 AM #2

servers are different (processors, memory, disks) and OS's are different that potentially affects even of dedicated server.

 
  • Guest_Unregistered_*
  • Guests

Posted 07 August 2009 - 02:53 PM #3

That doesn't explain why it only happens on the FIRST visit. Subsequent pages load quickly. I've never seen this type of issue on any of my servers with any application.

 
  • snorocket
  • Forum Janitor
  • Members
  • Join Date: 15-Mar 06
  • 2519 posts

Posted 07 August 2009 - 03:18 PM #4

my sites do the same thing and it's been to the point at times I've thought about switching servers...
SNOROCKET.COM, Now Accepting PRE-ORDERS:
Customer Service (Helpdesk) Addon for CS-Cart v4.3.1
Quote and Invoicing Addon for CS-Cart v4.3.1

 
  • jobosales
  • Senior Member
  • Members
  • Join Date: 04-Nov 06
  • 3114 posts

Posted 07 August 2009 - 07:32 PM #5

I just installed a trial cs-cart 2.0.6 on my dedicated server. There is no load on the server at this time of night.

The first time I loaded the admin panel, it took at least 10-20 seconds for the page to load. Same for the store frontend. Subsequent pages load quickly. If I open a new browser, the first time I load the site, it is super slow again.

Does anyone know why this is happening? I would assume a new customer would experience the same thing the first time they visit. Is this related to the trial license?

CS-Cart caches pages as they are first visited - subsequent visits should be faster.

Bob
CS-Cart 2.0.14 (testing)

 
  • mylove4life
  • Junior Member
  • Trial users
  • Join Date: 29-Mar 09
  • 13 posts

Posted 07 August 2009 - 08:01 PM #6

you can try a different broswer too. it could be that doing it.

 
  • Guest_Unregistered_*
  • Guests

Posted 09 August 2009 - 03:37 AM #7

It isn't server related so it wouldn't help to switch servers. (It's a 2x Dual Core Woodcrest with 8 GB RAM and SAS drives - with nothing else on the server.) It isn't browser related either... It does on my first visit with IE and Firefox.

My concern is that it will also happen when a customer visits my site for the first time and they may give up before actually visiting. I guess everyone is confirming that this is just something cs-cart does... which is not a good thing.

 
  • ogia
  • Senior Member
  • Members
  • Join Date: 09-Aug 09
  • 503 posts

Posted 09 August 2009 - 04:05 AM #8

Woo-hoo I'm registered now. (I'm the OP)

This restricted forum access forced me to buy before I wanted to. ;) I would post a thread and then forget what my question was.

 
  • ogia
  • Senior Member
  • Members
  • Join Date: 09-Aug 09
  • 503 posts

Posted 09 August 2009 - 04:09 AM #9

I'll repost my post that hasn't been approved yet.

It's not the server - 2x Dual Core Woodcrest, 8 GB RAM, SAS drives - with no traffic on it.

It's not the browser... It happens with Firefox, IE, and Safari on the first visit.

My concern was with customers visiting for the first time and giving up before the site loads.

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3884 posts

Posted 09 August 2009 - 04:12 AM #10

It must be an isolated issue. If you browse some of the forum members sites, you will see that they load fine.

BTW, welcome.

 
  • ogia
  • Senior Member
  • Members
  • Join Date: 09-Aug 09
  • 503 posts

Posted 09 August 2009 - 04:20 AM #11

Maybe it was the trial? I switched to the purchased key and it was faster.

 
  • baballuci
  • Senior Member
  • Members
  • Join Date: 02-Mar 06
  • 969 posts

Posted 10 August 2009 - 08:54 AM #12

Are you sure it's not a power management issue on the server. The time it's taking at first is the time it takes to wake up.
Charlie

 
  • eplebiten
  • Member
  • Members
  • Join Date: 12-Dec 08
  • 48 posts

Posted 14 August 2009 - 08:48 AM #13

Could the downloading of the graphics have anything to do with it? As most browsers will cache the downloaded files/graphics to speed up the experience, this could be some of the problem.

This also happens with my own site, but we're only talking about 2-4 seconds on the first time you visit. While on the successive site it loads in 1 sec. (On the screen of course.)
It was getting messy at home, so I just got married.

 
  • Struck
  • Teetering on Genious
  • Members
  • Join Date: 07-Mar 09
  • 2502 posts

Posted 14 August 2009 - 11:35 PM #14

This also happens with my own site, but we're only talking about 2-4 seconds on the first time you visit. While on the successive site it loads in 1 sec


I experience the same exact behavior on our 2.06 development site (no visitors yet other than when I am working on it).

I open the site in IE and the initial index page load time is always 4-5 seconds. I then close IE & immediately reopen our index page and the reload time is now 1 - 1 1/2 seconds! All subsequent site pages also load in the 1 second range. This has been repeated over & over with the same exact results. I also believed the difference was most likely due to images being cached. I haven't yet spent much time optimizing our site yet, however, I am a stickler on site speed and won't be satisfied until I see the 1-2 second page loads on every visit or 98.5% of the time. :cool:
Cooking with Gas on Version 4.1.2 (But proceeding with caution....)

 
  • ogia
  • Senior Member
  • Members
  • Join Date: 09-Aug 09
  • 503 posts

Posted 15 August 2009 - 06:50 PM #15

The delay I experienced was at least 20 seconds which is why I was concerned. It happened on both the admin side and the customer side.

However, after I purchased and updated the license, I tried it on another computer which I hadn't used to access the site, and there was only a normal delay of a few seconds. Therefore I think it was either related to the trial or there was an issue with the licensing server the night I installed the trial... or some other temporary issue.
CS-Cart 2.1.3 | Selling downloads
I recommend Newsletter Integration with Mailchimp

 
  • nevsie
  • Member
  • Members
  • Join Date: 25-Oct 06
  • 94 posts

Posted 17 August 2009 - 03:49 PM #16

i have seen this on other custom server setups with custom software (not with CS as of yet).

In the other situations the DB and site were hosted on separate servers and it was almost like the connection between the two needed to be woken up... some tech chnages (unknown) resolved this...

The other issue, when on server hosting multiple sites and when 1 site is getting low traffic and the other getting high traffic - the high traffic site almost hogs the memory, hence the low site then gets its pages/db queries/cache, etc into memory on first try and then quicker after that...

the final one i have to agree with the above... is loading images and browser based cache...

But the fact that moving from demo to real sped it up is probably somehting to do with the protected code in the demo version.

 
  • cheestudio
  • Junior Member
  • Members
  • Join Date: 24-Dec 10
  • 8 posts

Posted 18 January 2011 - 05:17 PM #17

I wanted to bump this thread because I am experiencing the same issue! Close to 30-40 second delay before the site even begins to load!

What is stranger than strange, is that I have two separate CS Cart installations on TWO SEPARATE HOSTS ENTIRELY, and I get the SAME behavior for both sites!

I want to say its some kind of routing issue between my host and my connection, but a) what are the chances its the same exact routing issue on BOTH hosts and B) why does it only affect CS Cart sites? Others load just fine.

I'm beyond baffled and have nowhere to go to troubleshoot this, its just too damn weird.

 
  • ogia
  • Senior Member
  • Members
  • Join Date: 09-Aug 09
  • 503 posts

Posted 19 January 2011 - 05:02 AM #18

cheestudio - are you using the trial version? I only experienced the issue with the trial version. I've since installed a second licensed store and never had any issues.

The original problem was most definitely not the server, browser, etc. It was cs-cart. But like I said, I've never had that problem since.
CS-Cart 2.1.3 | Selling downloads
I recommend Newsletter Integration with Mailchimp

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11501 posts

Posted 19 January 2011 - 06:59 AM #19

On first access (by anyone), the system has to rebuild the Registry cache as well as compile the home page (or whatever page you're viewing). After that, should speed up signficantly.

Would help if you specified the version you are running.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Lantan
  • CVO
  • Administrators
  • Join Date: 31-Aug 05
  • 240 posts

Posted 19 January 2011 - 03:39 PM #20

Hello cheestudio,

I wanted to bump this thread because I am experiencing the same issue! Close to 30-40 second delay before the site even begins to load!

I've looked at your licensed domains in your Help Desk account and visited your websites. I was able to see the CS-Cart based website that has 'green' in its domain name (I am not sure if you want to share this domain name here), the rest were closed.

Its entire home page loaded not more than 2-3 seconds for me (it was my first visit). So I am not sure, why you experience 30-40 second delay you reported.

Please post your website here and let the other forum members to check how fast it is.

If you still experience the problem with your CS-Cart installations, please contact us via your Customer Help Desk account and our support team will be happy to assist you.

Thank you.
Alex Vinokurov,
Chief Visionary Officer at CS-Cart & Twigmo