A method for processing content objects with resources associated with a content delivery network (CDN) having a plurality of geographically distributed points of presence (POPs) is disclosed. The resources are enrolled to be accessible from the CDN. Each resource is categorized using tags that categorize the resources. Selection of a policy from a plurality of policies is received, where the plurality of policies define processes to perform on content objects. The selected policy includes an applicability criteria and a call to the resource. Metadata is received at the CDN, the metadata being related to a content object, a requester of the content object and/or a provider of the content object. It is determined that the policy is applicable through analysis of the metadata and/or applicability criteria. The resource is called according to the call in the policy to cause the resource to perform specified processing on the content object.