What is caching?

Kohana has Cache_Tagging , but that doesn't explain what it is. Can anyone say what Cache Tagging should do or when do we use it?

+3
source share
2 answers

Some cache implementations allow you to add one or more tags to any data item stored in the cache, and then find or delete all elements with a given tag. This can be useful for several things, the most significant batch updates (you add a bunch of related materials to the cache, put it in the version line, and when you later find out that the data from this version is outdated, tell the cache to drop everything at once).

+8
source

, , (s?). , .

+3

All Articles