3

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.

2

1 Answer 1

2

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 that you have read and understand our privacy policy and code of conduct.

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