recommended dispatcher cache flush after a build
I have a question on clearing dispatcher cache as part of deployment.
Our maven build file uses curl process to deploy to authors and publisher instances and we have bamboo for continuous integration. There are TWO options as I see it for clearing dispatcher cache...
- Use bamboo to trigger post-build command to clear the cache
- clear the cache using curl from within maven
I believe both can & will be triggered on successful deployment ONLY.
Now, I need recommendations on which one is the right approach
if there is a third way which is recommended, pls do let me know.
/Kanwal