❔ Using the output cache in a web api
I have a method to get a pdf file and want to use output cache on it. The
[OutputCache]
attribute only works for Mvc methods but I use API set to .Net 6. Is there any way to use the output cache or do I need to write a custom attribute to handle it?1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.