Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
development:architecture:caching [2016/06/22 13:30] – [Consumers of the Object Cache] demiankatz | development:architecture:caching [2020/03/04 13:40] – demiankatz |
---|
===== The Cache Manager and Its Caches ===== | ===== The Cache Manager and Its Caches ===== |
| |
VuFind has a [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Cache/Manager.php|VuFind\Cache\Manager]] class which pre-configures Zend Framework cache objects and/or directory locations for several named caches. Each of these caches is used slightly differently. | VuFind has a [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Cache/Manager.php|VuFind\Cache\Manager]] class which pre-configures [[development:architecture:laminas|Laminas]] cache objects and/or directory locations for several named caches. Each of these caches is used slightly differently. |
| |
* config - stores top-level Zend Framework configurations; manually set up in [[https://github.com/vufind-org/vufind/blob/master/config/application.config.php|application.config.php]] but included in the cache manager to assist with automated cache clearing in the admin panel. | * config - stores top-level Laminas configurations; manually set up in [[https://github.com/vufind-org/vufind/blob/master/config/application.config.php|application.config.php]] but included in the cache manager to assist with automated cache clearing in the admin panel. |
* cover - stores cover images; used by the [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Cover/Loader.php|cover loader]] to store downloaded image files. | * cover - stores cover images; used by the [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Cover/Loader.php|cover loader]] to store downloaded image files. |
* language - stores parsed i18n language files; set up as part of [[https://github.com/vufind-org/vufind/blob/v3.0/module/VuFind/src/VuFind/Service/Factory.php#L883|i18n initialization]]. | * language - stores parsed i18n language files; set up as part of [[https://github.com/vufind-org/vufind/blob/v3.0/module/VuFind/src/VuFind/Service/Factory.php#L883|i18n initialization]]. |