[Feature Request] Endpoint caching #300
Replies: 3 comments
-
There's an awesome package that does this exactly for you; On topic: I don't think a cache should be enabled by default |
Beta Was this translation helpful? Give feedback.
-
I haven't seen this package I will give it a try to see if is compatible with this package. On the topic: |
Beta Was this translation helpful? Give feedback.
-
Hi @BulgarianHealer, Yes, caching is something I was considering to add. As you also mentioned, there are quite a few ways to do that, and to be honest, I do not have a clear vision (yet) on how to implement this feature either. What makes it difficult is cache revalidation, that should work hand in hand with other (possible) cache implementations of the apps that use both Laravel Orion and third-party caching packages. One thing that comes in mind is to have its own implementation of caching and bridges for those packages (e.g. |
Beta Was this translation helpful? Give feedback.
-
It will be awesome if there is a default cache or customizable cache.
I was thinking do add it, but I'm not sure if using middleware is gonna be the best for this package or creating custom controllers, configs.
Also if there is a cache option it should be enabled as default, and disable as DisableCache trait.
Beta Was this translation helpful? Give feedback.
All reactions