Is there an easy way to append a unique ID to the preview URL when the preview button is clicked by a user?
I ask because our setup caches heavily on the server-side so when updating it takes a while for the changes to show up in the preview. Manually adding a parameter to the end of the URL allows the changes to show up immediately.
I tried searching for a plugin but didn't have any luck. Is there a way to do this by adding a custom function in functions.php?