Phoca Cart and JCH Optimise Settings

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

Phoca Cart and JCH Optimise Settings

Post by dmlwebal » 22 Feb 2021, 14:01

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: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan » 22 Feb 2021, 14:17

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: 146
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal » 22 Feb 2021, 14:41

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: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan » 22 Feb 2021, 15:12

dmlwebal wrote:
22 Feb 2021, 14:41
Also, 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: 146
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal » 22 Feb 2021, 15:57

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: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan » 22 Feb 2021, 16:06

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: 146
Joined: 18 Sep 2019, 12:49

Re: Phoca Cart and JCH Optimise Settings

Post by dmlwebal » 22 Feb 2021, 16:39

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: 43606
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and JCH Optimise Settings

Post by Jan » 22 Feb 2021, 17:15

Ok
If you find Phoca extensions useful, please support the project

Post Reply