Skip to the content
Documentation

Persistence cache configuration: comparison of v.7 vs v.8

No ratings yet

Versions Compared

Old Version 7

changes.mady.by.user Dominika Kurek

Saved on Jan 22, 2016

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on Jan 29, 2016

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use of Memcached (or experimentally using Redis) is a requirement for use in Clustering setup, for . For an overview of this feature, see Clustering. 

...

Note
We strongly discourage you from storing cache files on NFS, as it defeats the purpose of the cache: speed.

Available settings

path
The path where the cache is placed; default is %kernel.cache_dir%/stash, effectively app/cache/<env>/stash
dirSplit
Number of times the cache key should be split up to avoid having too many files in each folder; default is 2.
filePermissions
The permissions of the cache file; default is 0660.
dirPermissions
The permission of the cache file directories (see dirSplit); default is 0770.
memKeyLimit
Limit on how many key to path entries are kept in memory during execution at a time to avoid having to recalculate the path on key lookups; default is 200.
keyHashFunction
Algorithm used for creating paths; default is md5. Use crc32 on Windows to avoid path length issues.

...

Comments

Add a comment

Comments are read by a moderator before they appear.