You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow up from #6252. These caches were kept separate from Zend_Cache because we needed to instanciate them before the app had a chance to configure anything. The only way to configure a ManifestCache is through an SS_MANIFESTCACHE class name.
I suggest we replace this with standard symfony/cache, and make them configurable by manually setting injector services during a customised boot process (e.g. a custom main.php). Sam's got some ideas regarding an App object which feeds into this approach.
Roughly speaking, this would be the content of an index.php with custom caches:
You could also inject custom code with a files composer-included file. This is the same way that framework injects Constants.php (even when running in other apps, e.g. phpunit).
Follow up from #6252. These caches were kept separate from Zend_Cache because we needed to instanciate them before the app had a chance to configure anything. The only way to configure a ManifestCache is through an
SS_MANIFESTCACHE
class name.I suggest we replace this with standard symfony/cache, and make them configurable by manually setting injector services during a customised boot process (e.g. a custom
main.php
). Sam's got some ideas regarding anApp
object which feeds into this approach.Roughly speaking, this would be the content of an
index.php
with custom caches:There's some new bits in here (e.g.
DefaultAppFactory
) which should be solved first, in a separate ticket.The text was updated successfully, but these errors were encountered: