I have contacted Daniel about this. It seem that despite the OC version being used, let's not forget that the pragma-cache deactivation has been suggested since OC v2.x releases on the forum on anyhow which means cache problems have been persistently reported on OC v2.x releases as well. However, the issue seem to be graver than anticipated by design (concept / goals).OSWorX wrote: ↑Fri Apr 17, 2020 7:01 pmSo, to simply break that down to 1 line: do not use OpenCart 3.x if you want to avoid troubles with cache - correct?ADD Creative wrote: ↑Fri Apr 17, 2020 6:33 pmIt is a bug in OpenCart. Nothing to do with server-specifics. Any PHP application that uses sessions will need to control what a web browser can cache. That's why if you use the native PHP sessions, PHP will do this for you. OpenCart version 3 onwards implements its own sessions and fails to control what a web browser caches, so web browsers are free to cache any response they want to, leading to problems.
The problem is that even though we use the gc.session_lifetime suggested by engwalid on Github or disable the pragma-cache, it still won't be a proper solution since for the session lifetime, API services will still be focusing on the shortest session length between services that they use as the same for the store owners by relying on their web service providers. As to disable pragma-cache, it is not a safe solution for online users. It will prevent session validation length to overload the browser, that is correct. However, it won't optimize the stores unless using higher resource capabilities such as better servers which is not how and why Opencart has been intended to be shown as a product.
What we need to get out of this misery, again despite the OC version, is the use of a Cloud-as-a-Service (CaaS) solution. This is a major incident by design ...