1

We did an update on production but still a translation which was newly defined in a translate.csv file did not work.

After rm -rf var/cache it still was not shown. We verified that the folder is empty. /tmp/magento also did not exist. After refreshing the page var/cache got filled again - so it is in fact used.

We were able to make it work by Flush Magento Cache in the backend - how can this be? Where else might the translation be cached?

edit

We found this in the local.xml

    <cache>
    <backend>apc</backend>
    <prefix>APC_</prefix>
    </cache>

The question is why Magento still writes to the cache folder.

1

If you use Memcached or APC, the system doesn't put anything to var/cache.

1

If you want a reliable way to flush the cache from the command line, that uses Magento to do the work, use magerun. Details on why this wasn't working are in the comments. Additionally, APC may aggressively cache opcodes that it will make your head spin. Redis support is now in the Magento installation since 1.8, you may as well use it: No more dual backends and native key expiration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_4_0": ["-item\"><a href=\"https://twitter.com/stackoverflow\" class=\"-link js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 32 })\">Twitter</a></li>\r\n                    <li class=\"-item\"><a href=\"https://linkedin.com/company/stack-overflow\" class=\"-link js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 33 })\">LinkedIn</a></li>\r\n                </ul>\r\n\r\n                <p class=\"mt-auto mb24\">\r\nsite design / logo &#169; 2019 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\" class=\"js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 34 })\" rel=\"license\">cc by-sa 4.0</a>\r\n                            with <a href=\"https://stackoverflow.blog/2009/06/25/attribution-required/\"  class=\"js-gps-track\" data-gps-track=\"footer.click({ location: 2, link:35 })\" rel=\"license\">attribution required</a>.\r\n                    <span id=\"svnrev\">rev&nbsp;2019.9.20.34984</span>\r\n                </p>\r\n            </div>\r\n        </div>\r\n\r\n            </footer>\r\n            <script>StackExchange.ready(function () { StackExchange.responsiveness.addSwitcher(); })</scri"], "copyright__copyright__copyright": ["the work, use magerun. Details on why this wasn't working are in the comments. Additionally, APC may aggressively cache opcodes that it will make your head spin. Redis support is now in the Magento installation since 1.8, you may as well use it: No more dual backends and native key expiration.\n\nYour Answer\n\nBy clicking \u201cPost Your Answer\u201d, you agree to our terms of service, privacy policy and cookie policy\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}