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

XCART5 Proper Cache Settings

 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-29-2014, 09:07 AM
 
Pfidy Pfidy is offline
 

Member
  
Join Date: Aug 2014
Posts: 14
 

Default XCART5 Proper Cache Settings

Can someone please tell me the proper cache settings for XCART5? In config.php, I have the following:
[cache]
; Type of cache used. Can take auto, memcache, apc, xcache, file values.
type=file
; Cache namespace
namespace=XLite
; List of memcache servers. Semicolon is used as a delimiter.
; Each server is specified with a host name and port number, divided
; by a colon. If the port is not specified, the default
; port 11211 is used.
servers=
Further, when I am done with development, what should these settings be?
[performance]
developer_mode = Off
skins_cache = off
compress_php_core = off
__________________
X-Cart Business 5.1.4
#39 SportLife Template
Reply With Quote
  #2  
Old 10-30-2014, 04:30 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: XCART5 Proper Cache Settings

Everything is good.

You can change the [cache] type to memcache, apc, xcache, but they should be supported on your server.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #3  
Old 10-30-2014, 06:37 AM
 
Pfidy Pfidy is offline
 

Member
  
Join Date: Aug 2014
Posts: 14
 

Default Re: XCART5 Proper Cache Settings

Will these bring performance gains? I am seeing load times at 29 secs, with over 7 secs for first byte load and 18 secs on first GET from my site.
__________________
X-Cart Business 5.1.4
#39 SportLife Template
Reply With Quote
  #4  
Old 10-31-2014, 04:28 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: XCART5 Proper Cache Settings

Caching always helps with performance, but it will affect only with 7 secs of first byte load.

What exactly takes 18 sec to load? Probably your pages have some heavy files and this is a culprit.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #5  
Old 10-31-2014, 08:17 AM
 
Pfidy Pfidy is offline
 

Member
  
Join Date: Aug 2014
Posts: 14
 

Default Re: XCART5 Proper Cache Settings

I don't think I am heavy with files. The first 7.68 secs are a GET on cycle-dog.com, the next 10.89 secs are a GET on www.cycle-dog.com. Then when images files start loading everything is in the millisecs. So the big problem is around the first two gets. I can't understand, and neither can rackspace, why my site is so slow.

http://gtmetrix.com/reports/cycle-dog.com/TNzt3FZk
__________________
X-Cart Business 5.1.4
#39 SportLife Template
Reply With Quote
  #6  
Old 11-02-2014, 12:48 PM
  kevfromwiganinlancashire's Avatar 
kevfromwiganinlancashire kevfromwiganinlancashire is offline
 

X-Adept
  
Join Date: Nov 2004
Location: Appley Bridge
Posts: 563
 

Default Re: XCART5 Proper Cache Settings

Had a look and it's says you need compression. Also took a while for the images to start to load. If you want to look at PaintsandStains.co.uk as a comparison where it says compare to other URL. It was very slow until I set gzip correctly. Not got the info to hand but if you search configuring gzip or similar you should find out.

Hope it helps
__________________
Php 5.4.16-36.el7_1
MySQL 5.5.41-2.el7_0
Apache
2.4.6-31.el7.centos



4.6.x stalled for now

5.2.6 developing
Reply With Quote
  #7  
Old 11-03-2014, 03:49 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: XCART5 Proper Cache Settings

As I know, our support team has fixed the most performance problems of Pfidy's store. I have written an article about solving performance issues:
http://kb.x-cart.com/display/XDD/Speeding+up+your+store

I will add more points to it lately.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


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 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 05:53 PM.

   

 
X-Cart forums © 2001-2020