Skip to content
Snippets Groups Projects
Commit 1181ff42 authored by Claus Due's avatar Claus Due Committed by Christian Kuhn
Browse files

[TASK] Make MemcachedBackend a transient backend

Allows passing non-string values to the backend, which
is perfectly allowed for this type of backend. The change
means that VariableFrontends used with this backend will
store non-string values without serializing, thus optimising
performance and transparency.

Key changes:

* Exceptions are no longer thrown when a non-string is passed
* Chunk-splitting does not happen on non-strings; entries
   exceeding the maximum bucket size get logged and ignored.
* Serializer decision is delegated to memcached configuration.

Change-Id: Ie11736be621a2dd27bfde60b82cd5f6b3a04d981
Resolves: #80246
Releases: master
Reviewed-on: https://review.typo3.org/52015


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarClaus Due <claus@phpmind.net>
Tested-by: default avatarClaus Due <claus@phpmind.net>
Reviewed-by: default avatarElmar Hinz <t3elmar@gmail.com>
Tested-by: default avatarElmar Hinz <t3elmar@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2de9fb40
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment