Labels
area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneon-roadmapListed on the current release roadmap
Milestone
Description
MVC & Razor Pages have a cache tag helper that can be used to cache part of the rendered output of a page. We should consider if we want to add a Blazor Cache component with similar functionality.
Related features requests from the community:
- [ResponseCache] for Blazor static server rendering #49130 (comment)
- [ResponseCache] for Blazor static server rendering #49130 (comment)
To support this in Blazor, we'd need to figure out how it would work with Blazor's various render modes.
Reacted by Kenneth Hoff, James Yeung, boukenka, Nikos Bilalis, Vlad Ionescu, campersau, esben2000, Abdulmalik, Niko, Samuel Sidor and 5 more
Metadata
Metadata
Assignees
Labels
area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneon-roadmapListed on the current release roadmap
Activity
ElderJames commentedon May 31, 2024
Hello @danroth27 , can I understand that this is to implement the keepalive mechanism in vue?
In AntDesign Blazor's ReuseTabs component, I implemented a similar mechanism for component state caching, but with instances of the component kept on the page and hidden and displayed by style.
https://antblazor.com/en-US/experimental/reusetabs
danroth27 commentedon May 31, 2024
Maybe? I was mostly motivated by providing parity with the features we have in MVC & Razor Pages. I'm not really familiar enough with the Vue KeepAlive feature to say whether that's the approach we should take, but we welcome the community's thoughts on this.
Kebechet commentedon Apr 1, 2026
hopefully this will get to NET11 🤞