X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   XCART5 Proper Cache Settings (https://forum.x-cart.com/showthread.php?t=70369)

Pfidy 10-29-2014 09:07 AM

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

tony_sologubov 10-30-2014 04:30 AM

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.

Pfidy 10-30-2014 06:37 AM

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.

tony_sologubov 10-31-2014 04:28 AM

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.

Pfidy 10-31-2014 08:17 AM

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

kevfromwiganinlancashire 11-02-2014 12:48 PM

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

tony_sologubov 11-03-2014 03:49 AM

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.


All times are GMT -8. The time now is 04:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.