Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Website too slow

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-09-2013, 11:05 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Website too slow

Quote:
Originally Posted by DavyMac
I would very much like to assign resources to a subdomain but in 4.5.4 it is not clear where the image folders are assigned. In older versions I'd just reassign $imagedir to be the subdomain, but I'm at a loss with this version.

Can anyone point me in the right direction please? Has anyone set resources to be on a subdomain in 4.5.*?

This may help:

http://forum.x-cart.com/showthread.php?t=64443

my post #57 has a summary of the file edits. That could be useful for subdomains as well -- HOWEVER -- I'd invest $20 and try a CDN before doing it yourself.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
DavyMac (05-10-2013)
  #12  
Old 05-10-2013, 12:24 AM
 
DavyMac DavyMac is offline
 

eXpert
  
Join Date: Apr 2007
Location: Poole, UK
Posts: 333
 

Default Re: Website too slow

Quote:
HOWEVER -- I'd invest $20 and try a CDN before doing it yourself.

Thanks for your reply, and by the strength of your advice I sense I really should look into a CDN.
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
Reply With Quote
  #13  
Old 05-10-2013, 04:05 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Website too slow

I would look for a 50% off coupon for MaxCDN and just follow my guide in post #57
EWD may have an affiliate link/discount code
Hands-on had one for me.

BEFORE you go with a CDN, benchmark your site.
http://www.webpagetest.org/

Then after about 24 hrs (allow caching to complete) benchmark again. Watch your page load speeds drop by 50% or more.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
DavyMac (05-10-2013)
  #14  
Old 05-10-2013, 06:13 AM
 
DavyMac DavyMac is offline
 

eXpert
  
Join Date: Apr 2007
Location: Poole, UK
Posts: 333
 

Default Re: Website too slow

Quote:
Originally Posted by carpeperdiem
I would look for a 50% off coupon for MaxCDN and just follow my guide in post #57
EWD may have an affiliate link/discount code
Hands-on had one for me.

BEFORE you go with a CDN, benchmark your site.
http://www.webpagetest.org/

Then after about 24 hrs (allow caching to complete) benchmark again. Watch your page load speeds drop by 50% or more.

Great advice, which I will certainly follow - thanks.
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
Reply With Quote
  #15  
Old 05-10-2013, 08:41 AM
  bigredseo's Avatar 
bigredseo bigredseo is offline
 

X-Man
  
Join Date: Oct 2002
Location: Omaha, NE, USA
Posts: 2,364
 

Default Re: Website too slow

No more MaxCDN coupons on my end - the only thing I have left these days is just our affiliate code where we'd get $20 if you signed up under our link on our site.

That said, if you use "MaxCDNcoupon" on checkout, you'll save 25% on addition to the already 50% off for your first year.

I've been with MaxCDN for 3 years now - love it!
__________________
Conor Treacy - Big Red SEO - @bigredseo
Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding!
If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet.
Omaha SEO Office with National & Local SEO Services
Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance
Reply With Quote
  #16  
Old 05-12-2013, 11:25 PM
 
philrisk philrisk is offline
 

X-Adept
  
Join Date: Jul 2009
Location: Newcastle upon Tyne, UK
Posts: 412
 

Default Re: Website too slow

For setting up MaxCDN you modify these two files smarty.php, func.files.php. I guess you would do the same for a sub domain.
__________________
Live with Gold 4.5.1
Dedicated Linux server
MaxCDN 4 pull zones
Dedicated SSL

Reply With Quote
  #17  
Old 05-12-2013, 11:56 PM
 
DavyMac DavyMac is offline
 

eXpert
  
Join Date: Apr 2007
Location: Poole, UK
Posts: 333
 

Default Re: Website too slow

Quote:
Originally Posted by philrisk
For setting up MaxCDN you modify these two files smarty.php, func.files.php. I guess you would do the same for a sub domain.

Thanks Phil.

When I saw how easy it was to set up and use a CDN I didn't give using a subdomain a second thought. I'm totally sold on CDNs and saw an immediate and huge improvement on website speed.
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
Reply With Quote
  #18  
Old 05-13-2013, 09:34 AM
  bigredseo's Avatar 
bigredseo bigredseo is offline
 

X-Man
  
Join Date: Oct 2002
Location: Omaha, NE, USA
Posts: 2,364
 

Default Re: Website too slow

Quote:
Originally Posted by DavyMac
Thanks Phil.

When I saw how easy it was to set up and use a CDN I didn't give using a subdomain a second thought. I'm totally sold on CDNs and saw an immediate and huge improvement on website speed.

Combine your CDN with SubDomains and you get the extra speed - that's what I do Multiple subdomains point to the single CDN instance results in parallel downloading and faster speed.
__________________
Conor Treacy - Big Red SEO - @bigredseo
Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding!
If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet.
Omaha SEO Office with National & Local SEO Services
Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance
Reply With Quote
  #19  
Old 05-13-2013, 09:48 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Website too slow

Quote:
Originally Posted by handsonwebhosting
Combine your CDN with SubDomains and you get the extra speed - that's what I do Multiple subdomains point to the single CDN instance results in parallel downloading and faster speed.

Conor,

You knew that suggesting this would open a can of worms
Can you share how using subdomains with the cdn can be setup on my hands-on VPS?
Is it simply a matter of creating additional subdomains in cPanel?
Ok, then how do we tell x-cart to use the subdomain instead of the normal location? Care to share?

Does this mean I need an additional account with the cdn?

Not really getting my thick head around it. Must be a monday thing.
thanks,
J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #20  
Old 05-14-2013, 02:52 AM
 
DavyMac DavyMac is offline
 

eXpert
  
Join Date: Apr 2007
Location: Poole, UK
Posts: 333
 

Default Re: Website too slow

I had a go. I created a subdomain and redirected to my CDN CNAME but it resulted in "Oops! This link appears to be broken".
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:48 AM.

   

 
X-Cart forums © 2001-2020