Answer the question
In order to leave comments, you need to log in
Why does Symfony 1.2 continue to store part of the cache on disk, even if the config specifies to store the cache in memory (XCache)?
Good afternoon.
Symfony 1.2 project.
In the factories.yml settings at the project level, I change the storage location of the Symfony cache from sfFileCache to sfXCacheCache. As a result, I want the Symfony cache to be stored not on disk, but in Xcache memory.
After my tweaks, some of the Symfony cache actually starts to be stored in memory, but the cache part continues to use disk.
PROJECT_ROOT_DIR/Config/factories.yml:
view_cache:
class: sfXCacheCache
param:
automaticCleaningFactor: 0
storeCacheInfo: true
i18n:
class: sfI18N
param:
cache:
class: sfXCacheCache
param:
lifetime: 31556926
automaticCleaningFactor: 0
storeCacheInfo: true
routing:
class: sfPatternRouting
param:
cache:
class: sfXCacheCache
param:
automatic_cleaning_factor: 0
lifetime: 31556926
storeCacheInfo: true
config_app.yml.php
config_autoload.yml.php
config_config_handlers.yml.php
config_core_compile.yml.php
config_databases.yml.php
config_factories.yml.php
config_phpexcel.yml.php
config_routing.yml.php
config_settings.yml.php
modules_catalog_brand_config_cache.yml.php
modules_catalog_brand_config_filters.yml.php
modules_catalog_brand_config_module.yml.php
modules_catalog_brand_config_security.yml.php
modules_catalog_brand_config_view.yml.php
modules_catalog_config_cache.yml.php
modules_catalog_config_filters.yml.php
modules_catalog_config_module.yml.php
modules_catalog_config_security.yml.php
modules_catalog_config_view.yml.php
modules_compare_config_module.yml.php
modules_faq_config_cache.yml.php
modules_faq_config_filters.yml.php
modules_faq_config_module.yml.php
modules_faq_config_security.yml.php
modules_homepage_config_cache.yml.php
modules_homepage_config_filters.yml.php
modules_homepage_config_module.yml.php
modules_homepage_config_security.yml.php
modules_homepage_config_view.yml.php
и т.п.
VERSION
// auto-generated by sfCacheConfigHandler
...
// auto-generated by sfFilterConfigHandler
// auto-generated by sfDefineEnvironmentConfigHandler
// auto-generated by sfSecurityConfigHandler
// auto-generated by sfViewConfigHandler
// auto-generated by sfRootConfigHandler
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question