Var/ In Magento 2

var/: this directory contains files that are temporarily used by the Magento
application or results from using it. For example, logs are in var/log/.
Error reports are in var/report. If you are using the file-system cache,
this is stored in var/cache and var/page_cache. You should only use filesystem
caches in your development environment and never on production.
The reason is that file-system storage prevents horizontal scaling (scaling
Magento to multiple stand-alone instances)


Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top