Phoca Cart and JCH Optimise Settings

Phoca Cart - complex e-commerce extension
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Phoca Cart and JCH Optimise Settings

Post by dmlwebal »

PHP 7.4.14
Joomla 3.9.24
Gantry 5.4.37
Helium 5.4.37
Phoca Cart 3.5.6
JCH Optimise 6.4.0 (free version)
Litespeed Servers HTTP/2
Cloudflare CDN

Although my hosting is not bad (speed/£), I find that the TTFB can be a little long!

Has anyone found a setup using JCH Optimise that works particularly well?

Some settings are hosting related, but wondered if anyone had experimented with the following settings in JCH Optimise:

E.g. I find this combination to work well

Combine Javascript and CSS files:
Enable: Yes
Settings: Premium
Cache 30 mins
HTML Minification: Advanced
Combined files delivery: PHP using url re-write with .htaccess
Try Catch: Yes

Remove unused files: phoca.sticky.navbar.js (I use UIKIT3 tag attributes for sticky)

Don't move these files to the bottom of the page:
/system/js/keepalive.js
/js/jquery3.5.1.min.js
/custom/js/jluikit.min.js

Exclude Menu Items:
Cart Checkout: tick (helps prevent issues with Stripe payment plugin)

I find that this balance works well for front and backend on a fairly large site (2Gb), but if anyone has any tips that would be great

Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan »

Hi, I tested JCH in past, but got some problems with different parts of the site, so I switched to JOT Cache for tests - which works well. So for now, unfortunately no experiences with JCH :-(

Jan
If you find Phoca extensions useful, please support the project
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal »

Hi
Interesting! I would be interested in using Jotcache, but have had problems with the cart modules. Same with Litespeed cache for Joomla
However, I may give it another try if you find that it works well.
Do you run Jotcache with Gzip enabled?
How do you handle dynamic pages and cart module?

Also, your Phoca Cart Premiere demo is running with JCH Optimise :)

Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan »

dmlwebal wrote: 22 Feb 2021, 14:41Also, your Phoca Cart Premiere demo is running with JCH Optimise :)
:-) You are right, I forgot about it. This is the site where I have tested the JCH, but there was some problem with part which was not changed (really no idea for now which it was). I think, now the method with lowest rules is running there.

I tested JOTCache with gzip (tested on many different pages - no problem with combination of JOT Cache and gzip). When there is a problem with some module, I simple exclude it from caching:

Image

Jan
If you find Phoca extensions useful, please support the project
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal »

Great! Thank you Jan

I notice that your demo sites run very well here in the UK. Eastern European hosting seems to be very high quality. UK is ok though; backbone is good. But, any improvement is worth looking into.

I shall take another look a Jotcache while litespeed sort out the problem with Gantry5 (Litespeed creates a template in which the modules are cached, but that template does not allow access Particles and vice versa.)

Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan »

I notice that your demo sites run very well here in the UK
Great to hear it because the websites run on low cost server :-)

BTW, Gantry5 itself uses caching system, so maybe I think, when using Gantry 5, that it is enough regarding caching :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal »

Thanks again Jan.

I have a copy of the main site and been testing Jotcache, but cannot stop the Cart module from being cached! Even excluded and with caching turned off in module.

But, not a Phoca Cart issue, so I will try to figure it out.

:)
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal »

For anyone reading, I went with Litespeed cache in the end. But Jotcache would be my choice if I had no access to Litespeed servers
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan »

Ok, maybe if you have time, it will be great to compare them and let us know why you have choosen the Litespeed over other methods.

Thank you,

Jan
If you find Phoca extensions useful, please support the project
Post Reply