Open zubairkhakwani opened 1 week ago
@danroth27 @SteveSandersonMS @mkArtakMSFT I believe that addressing the issue related to Output Cache is crucial for enhancing the performance and scalability of SSR websites. Since this appears to be a solvable bug (Hopefully :D), I propose considering its resolution for inclusion in the .NET 9 release. Thank you for addressing this matter & Thank you for Blazor, Have a good day.
Is there an existing issue for this?
Describe the bug
Initially, everything functions as expected. However, upon adding the OutputCache attribute, two significant issues arise
I am using BlazorPageScript nuget package provided by @MackinnonBuck to work with PageScript
If I remove
@attribute [OutputCache(Duration = 2000)]
it works fine.Additionally, I've created a Video demonstrating the precise steps to replicate the issues.
https://github.com/dotnet/aspnetcore/assets/38009549/f78fba32-ca14-4874-90dc-5cd0105652c5
Expected Behavior