I am populating one of the node fields making third party api call. Since the data from api is supposed to change frequently mainly on node view. My question is, is it possible to clear caching for a specific node in varnish.


1 Answer 1


If you are using the Varnish HTTP Accelerator Integration module, you can use the varnish_expire_cache() function, that accepts specifics paths like nodes or could be for other paths too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.