19-Jan-2023, 06:35 PM
I started marking almost all my pages as cacheable so CDN can serve them faster. Of course, comments are dynamic.
I have API to clear pages from the CDN's cache. I would like to call that API after comments have been approved/deleted. Any suggestions, to where (which file) should I place my custom code to clear the page from the CDN cache?
I have API to clear pages from the CDN's cache. I would like to call that API after comments have been approved/deleted. Any suggestions, to where (which file) should I place my custom code to clear the page from the CDN cache?