basket takes long to load

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 87
Joined: 05 Mar 2016, 15:59

basket takes long to load

Post by stiller » 17 Jan 2019, 22:25

hi there
when I add a product to the basket the basket overlay takes a long time to load.
I can only guess the hardware behind your demo shop where the basket appears much faster.
but on a vserver with 4GB RAM it often takes more than 5 sec.
also with the aimeos typo3 installation package with no further adjustments.
what can slow down the basket request?
is there a possibility to show an animated gif during this process so that the user receives some feedback on his action and keeps patience?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: basket takes long to load

Post by aimeos » 18 Jan 2019, 09:39

Is that only when adding something to the basket or also in the checkout process?

Possible problems:
- XDebug enabled
- OPCache disabled
- APCu not used
- Own basket plugin enabled that is called often and loads too much data from DB
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 87
Joined: 05 Mar 2016, 15:59

Re: basket takes long to load

Post by stiller » 20 Jan 2019, 16:09

yes, only when adding products. esp. the first one.
it sometimes takes more than 5sec
i'm using the standard basket
OPCache and APCu on
xdebug not loaded

how would it be possible to integrate a spinner.gif if no acceleration can be achieved

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: basket takes long to load

Post by aimeos » 21 Jan 2019, 09:31

There should be already an animated spinner icon shown by default due to:
- https://github.com/aimeos/ai-client-htm ... s.css#L219
- https://github.com/aimeos/ai-client-htm ... os.js#L593

We highly recommend to find out why it takes so long because that's not normal. You can see in the demo how fast it should be: http://typo3.demo.aimeos.org/demo/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: basket takes long to load

Post by aimeos » 17 Sep 2019, 08:06

Did you already checked these sources of problems?
- open_basedir enabled
- XDebug enabled
- OPCache disabled
- APCu disabled and not enabled in Aimeos config
- Own basket plugin enabled that is called often and loads too much data from DB
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply