When Management Center push policy of VPM policy that has associated Shared Object applied to Web Content Layer to ProxySG/ASG, it returns "Error: Invalid condition for <Cache> layer" .
ProxySG/ASG VPM's Web Content Layer does not accept server.certificate.hostname trigger. Shared object that has this triggered and applied to Web Content Layer, this will cause the ProxySG to throw an invalid condition error.
ProxySG / ASG with Web Content Layer
VPM policy associated with URL list Shared Objects
Remover/uncheck the server.certificate.hostname under Shared Object Advance Settings:
Navigate to the Shared object in question and click the the gear icon located on the right hand side.
Uncheck the "Include server.certificate.hostname trigger" option and save.