View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007456 | OXID eShop (all versions) | 4.08. Cache | public | 2023-03-30 10:33 | 2024-08-14 14:13 |
Reporter | ESYON2022 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 6.5.2 | ||||
Summary | 0007456: Missing files in _sPermanentCachePattern leads to deletion of config.*.*.txt on updating models | ||||
Description | On updating a model the cache is cleared (oxResetFileCache). Some files are excluded from the deletion (protected $_sPermanentCachePattern = "/c_fieldnames_|c_tbdsc_|_allfields_/";). The config cache is missing within this pattern, which leads to the deletion of config cache. After deleting the cache the configuration (1.yaml) needs to be cached again, which leads to performance issues on slow storage. | ||||
Steps To Reproduce | 1. set blClearCacheOnLogout to true 2. load any shop page, so the config files are cached 3. update any model 4. check for config.1.amodules.txt - this file is deleted after the update | ||||
Additional Information | As a temporary workaround we enable blClearCacheOnLogout. | ||||
Tags | Cache | ||||
Attached Files | |||||
Theme | All | ||||
Browser | All | ||||
PHP Version | 8.0 | ||||
Database Version | MySQL 5.7 | ||||
|
-MK Don't get confused: The file config.1.amodules.txt will be instantly recreated after the cache was flushed but one could get the idea, that it wasn't deleted: -rw-r--r-- 1 oxid oxid 6 Mar 31 09:50 config.1.amodules.txt -rw-r--r-- 1 oxid oxid 6 Mar 31 09:50 config.all.urlmap.txt ---- Saving random object with the administration area ---- ? ls -lah config* -rw-r--r-- 1 oxid oxid 6 Mar 31 09:51 config.1.amodules.txt -rw-r--r-- 1 oxid oxid 6 Mar 31 09:51 config.all.urlmap.txt |