Default Functions


This function is called when a new request enters. From this function, you can modify the behavior or content of the request and decide how to process it.

In this function, you should configure a backend to which the request should be sent.



Called after vcl_recv. In this function, the caching behavior is modified when storing the object in the cache.


It is called immediately after looking up the object in the cache and only if it has not been found.


This function is called before sending the object to the client.

On the origin side


This function is called before sending the request to the backend to retrieve the object.


This function is called when the backend response arrives successfully.

The rest of the predefined functions in Varnish Enterprise Plus are not allowed to be modified by the user in Transparent CDN, to ensure the security and stability of our clients' sites at all times. However, you can check them out here.

Last updated