Duplicated directives added to cache-control header RRS feed

  • Question

  • Hello there!

    I am facing the issue described below.
    I have created a class that inherits from IResultFilter in order to create a custom filter.
    The usage of that filter is to add the "no-store, must-revalidate, pre-check, post-check, max-age, s-maxage" directives to cache-control header. I have used the AppendCacheExtension in order to add the above directives to that particular header.

    The problem that I am facing is that those directives are being appended three times.
    My custom filter is being added to global.asax in order to be used for the entire project.

    Any ideas why the directives are being added more than one times, and how to approach this issue?
    • Moved by CoolDadTx Friday, March 29, 2019 1:59 PM ASP.NET related
    Friday, March 29, 2019 9:40 AM

All replies

  • Please post questions related to web development in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Friday, March 29, 2019 1:59 PM