magento 1.9x switching widgets
-
27-12-2020 - |
题
My magento acts up weird. I have normall magento caching enabled, but also OPcache enabled on php 7.1.10.
The problem i have is when i load the website in one browser i see the following: When i look at it in another browser(that previously loaded the website before the cache was cleared) i see the following (it grabs the html of a widget that shows above this one) :
Bonus; when i look at the 'wrong' browser incognito. It shows correctly. So if i'm correct the cache on the browser side isn't invalidated as it should after a cache clear?
How come, and more important. How can i solve it?
解决方案
After some further investigation and searching i found a problem with the caching keys. I have the most recent magento 1.9.x version so i don't know why the problem is still here. But to solve it we have to patch a magento core file.
More info about this can be found here: http://magento.stackexchange.com/a/69216 And for the problem if it's only exists in widgets on cms pages there is a hotfix for it.