Configuring a middleware to run after strapi-middleware-cache

sure, We have some custom endpoints where we have some properties on the response object which contain information about authorisation required to access the object. example

       [
     {
        ...
        propety1:"<value for this object>",
        property2:"<value for this object>"
        },
     {
        ...
        propety1:"<value for this object>",
        property2:"<value for this object>"
        }
    ]

We want to validate these values against the auth info we derive from token. The ides is to filter and provide only authorised info to user. Thats why we want to keep the entire response list cached but deliver filtered response.