I have a case where I needed to apply a hotfix to a component CSHTML view file. I edited the file on both of our Content Delivery servers. I also cleared the entire Sitecore cache via /sitecore/admin/cache.aspx
. At that point I was expecting to see the updated HTML on the front end, but it was still in its previous state.
It wasn't until I recycled the IIS app pools that the HTML was updated. If I recall correctly, on all of my other Sitecore projects, whenever a view file was edited and saved, the front end would update almost instantaneously. Why isn't this happening in this case?
Here are the cache settings on the component:
Setup:
- Sitecore 9.0.2
- Content Management server
- Two Content Delivery servers