如何完全禁用 Bitnami Magento Stack 中的缓存

How to disable caching in Bitnami Magento Stack entirely

我正在使用 Bitnami Magento 1.9 Stack 并想禁用所有类型的缓存。我做了这些尝试:

  1. 我禁用了 Magento 缓存 (as described here)
  2. 我禁用了 Apache2 缓存(as described here) for (html|htm|js|css|phtml|php) and checked the HTTP-Header as described here
  3. 我使用 Clear Cache
  4. 禁用了浏览器缓存

不幸的是,我的 phtml 文件仍在缓存中。 CSS- 很高兴不再更改 JS 文件。

是否还有我忘记禁用的其他缓存?

我找到了最后一个尚未禁用的缓存:
OP缓存
它由 Zend 安装。

要禁用此缓存,请打开文件 php.ini(在我的例子中为 C:\Bitnami\magento-1.9.2.4-2\php\php.ini)并设置
opcache.enable=0

(来自 Bitnami Wiki 的解决方案)