How to prevent the ProxySG from caching error pages from an internal web server?
The proxy should not cache a 503 error coming from an internal web server.
Content Policy Language (CPL) may be installed in the Local Policy File to prevent the ProxySG from caching HTTP 503 return code from an internal web server. For information on how to install CPL in the Local Policy File, please see Add Content Policy Language (CPL) to the Local Policy File on the ProxySG. Here is the CPL to install:
; **BEGIN** CPL code to not cache 503 errors returned from host.example.com
<cache>
url.domain=host.example.com http.response.code=503 cache(no)
; **END** CPL code to not cache 503 errors returned from host.example.com
If there are other error codes that proxy should not cache, then add additional url.domain lines with different error codes.