Exclude Checkout page from Joomla cache?

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Exclude Checkout page from Joomla cache?

Postby konstantinos » Tue Mar 30, 2021 10:36 pm

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
konstantinos
 
Posts: 23
Joined: Wed Mar 25, 2015 3:27 pm

Re: Exclude Checkout page from Joomla cache?

Postby minion » Thu Apr 08, 2021 2:18 pm

We don't use cache on our shops == then we don't need exclude cart

Using cache will be sometimes as basic safety problem.
minion
 
Posts: 11
Joined: Wed Jul 20, 2016 3:34 am

Re: Exclude Checkout page from Joomla cache?

Postby konstantinos » Tue Apr 27, 2021 8:57 am

We found that the Joomla cache improves performance quite significantly in some cases.
konstantinos
 
Posts: 23
Joined: Wed Mar 25, 2015 3:27 pm

Re: Exclude Checkout page from Joomla cache?

Postby admin » Wed Apr 28, 2021 11:27 am

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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x