Page 1 of 1

Exclude Checkout page from Joomla cache?

PostPosted: Tue Mar 30, 2021 10:36 pm
by konstantinos
Hello,

We found that enabling Joomla cache (conservative caching) greatly improves page speed.

However with one major problem... the checkout page is cached also!
If the user leaves the checkout page, adds one more product to cart and go to checkout again, the last product is not shown! It shows after a refresh!

How do we exclude checkout from Joomla cache completely?

Thanks

Re: Exclude Checkout page from Joomla cache?

PostPosted: Thu Apr 08, 2021 2:18 pm
by minion
We don't use cache on our shops == then we don't need exclude cart

Using cache will be sometimes as basic safety problem.

Re: Exclude Checkout page from Joomla cache?

PostPosted: Tue Apr 27, 2021 8:57 am
by konstantinos
We found that the Joomla cache improves performance quite significantly in some cases.

Re: Exclude Checkout page from Joomla cache?

PostPosted: Wed Apr 28, 2021 11:27 am
by admin
hello, instead of using cache pls consider fixing the issue that causes the slowdown.

generally cache is very dangerous in matters of any XSS that can occur on your site - core Joomla and sometimes core VM in every 5th to 10th version include an XSS vulnerability which might get stored at your cache and thus cause a huge security problem.

general optimalization should include:
- checking for any remote calls from any extensions (as this one is the slowest part usually)
- checking for the database indexes and queries that take most of the time
- check for ineffecient code such as infinite loops or php based url cron taks (awo + fsf + etc... )

to further investigate which modules and plugins cause the slowdown you can install our "benchmark plugin" + enable global joomla debug + disable system-debug plugin and see the output of the variables within the JS console of g.chrome. the benchmark plugin must not be run on a production site (as it reveals too much data and might not use very up-to-date overrides per latest joomla version )

usually on our hetzner based servers with m.2's SSDs and ramdisks for session and some cache handling we usually are much better off (faster) when using our "nocache" system (which prevents any cache writes) compared to using any sort of cache that uses file storage.

best regards, stan