Download the PHP package teamneusta/elasticcache without Composer
On this page you can find all versions of the php package teamneusta/elasticcache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamneusta/elasticcache
More information about teamneusta/elasticcache
Files in teamneusta/elasticcache
Package elasticcache
Short Description elastic cache backend
License GPL-2.0-or-later
Homepage https://www.neusta.com
Informations about the package elasticcache
Elasticsearch based cache backend for TYPO3
Provides a cache backend for TYPO3 which enables storing caches in elasticsearch.
Prerequisites
- Currently tested with elasticsearch 2.x, 5.x, 6.x and 7.x
- The "delete-by-query" plugin may be needed for 2.x to be installed (see https://www.elastic.co/guide/en/elasticsearch/plugins/2.0/plugins-delete-by-query.html)
Installation
composer require teamneusta/elasticcache
Configuration
Add a section to your local configuration configuring the cache. You can either reconfigure existing caches or add a new one for your own use. For more general information see the caching framework documentation (at https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/CachingFramework/Index.html#caching)
The following options can be set:
host
: The elasticsearch host name (defaults tolocalhost
)port
: The elasticsearch port (defaults to9200
)path
: The elasticsearch path (defaults to/
)transport
: The elasticsearch transport protocol (defaults tohttp
)indexName
: The index name to use for this cache - make sure to choose a different one per cachetypeName
: The type name to use for this indexindexConfiguration
: The path to index configuration where you can set alternating mappings and analyzersdefaultLifeTime
: The default lifetime of a cache entry in this cache (in seconds - 0 means unlimited)
Example
Issues and Feedback
If you run into any issues, want to contribute or just give feedback, just use the github issue tracker.
Known issues
With TYPO3 10.0 the StringFrontend
has been removed after being deprecated in TYPO3 9.2.
It is recommended to use the VariableFrontend
instead.
However, the VariableFrontend
serializes the cache input per default unless the corresponding cache backend implements
the TransientBackendInterface
. To this extend the elasticcache-extension changes to the use of the TransientBackendInterface
with v2.0 to allow insertion of valid json for cross-platform usage.
All versions of elasticcache with dependencies
typo3/cms-core Version ^11.5 || ^12.4 || ^13.4
ruflin/elastica Version ^7.0