Content Delivery Network (CDN) cache needs to be refreshed after deploying a Web UI project. I developed a custom step which runs a PowerShell script on Octopus, a well-known deployment tool in .NET eco-system, to trigger purge method of the CDN server which is Medianova CDN and added it to community step library.
Now, you can see the details of Medianova - Purge Step on Octopus Deploy Library and install it from the community step templates page of the Octopus dashboard.
PS: We should add the version parameter to the static files. This process will not renew the browser cache.