0 Replies Latest reply on Jan 29, 2016 9:49 PM by lord.claxton

    JBOSS7 setting Cache-Control, Pragma to no-cache for all responses from resteasy

    lord.claxton

      I'm trying to add Cache-Control headers to the responses generated in JBOSS 7 using resteasy framework. However, all the responses end up getting multiple Cache-Control headers due to JBOSS adding no-cache header by default.

      I can't find any setting to remove it and adding interceptors is also not working since no-cache header is being added later.

      Can someone tell me how to disable the default pragma and cache-control headers in JBOSS 7?