I have a website in which there are 2 states: unpublished and published.
When in the published state, images are served from my CDN with caching set within a month. After posting changes to the file is not allowed, so I never worry about it.
However, when in an unpublished state, I want the page to refresh every time it is viewed. The user makes an update, browses their contents to see a new file that has been hard updated to view the latest updates.
How can I get a hard update based on whether the page is in a published or unpublished state?
source
share