Introduces the "use cache" directive to drive caching any function on the server side utilizing the already existing useCache() helper function, the in-memory caching solution, and a modified inline "use server" plugin.
Adds "use cache" tests, documentation, and minor styling tweaks to the documentation and the error indicator in development mode.
Read more about the directive in the updated documentation.
Introduces the
"use cache"
directive to drive caching any function on the server side utilizing the already existinguseCache()
helper function, the in-memory caching solution, and a modified inline "use server" plugin.Adds
"use cache"
tests, documentation, and minor styling tweaks to the documentation and the error indicator in development mode.Read more about the directive in the updated documentation.