-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
This is all about a cache on top of [RFC] Simpfilied cache.
Some points we should discuss:
- Does it even make sense to create a advanced version, because we have already PSR6
- If so 1., how could we do it without replacing PSR6 but add better stuff additional on top of it, so we don't have completely different PSRs but rather PSRs that complete each other.
- Naming: I highly find it misleading to call it "AdvancedCacheInterface" or something. A better interface name describes its purpose so people could simply guess what methods are inside.
Maybe it makes even more sense to call it StorageInterface, KeyValueStorage or something, because as I stated in the other Simplified Cache thread:
Caching is there to jump over re-computation, nothing more. Not to change something on a key-value storage using increment/decrement, bulk-operation and stuff like that.
However, I think some functionality could make sense, like invalidation.
Let's please only discuss here caching interfaces that are different to [RFC] Simpfilied cache due to more methods/functionality.