Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jin 11 posts 91 karma points
    Apr 10, 2023 @ 18:18
    Jin
    0

    Asp.NET 7 outputcache with contentfinders?

    Has anyone successfully used the new output cache in asp.net 7 with umbraco? And more specifically in conjuction with contentfinders?

    I can get it to output cache just fine by adding the required services into the pipeline using “UseOutputCache”. However when using contentfinders it seems necessary for it to execute the contentfinder before it knows which controller / route to hit (makes sense) and after that it can lookup in the cache for the item (and it does so) the issue is that i make a relatively expensive external call in the contentfinder.

    I was under the impression that it just matches the url coming in for a match - this does not seem to be the case.

    Is there a way around this issue?

Please Sign in or register to post replies

Write your reply to:

Draft