I need to make a history of a Sitecore website. It should just be able to tell the editors when (from/to date) and what (content) have been on the website. I’m using Sitecore 8.2 update 2, and are using a combination of fields on the pages itself, rendering-parameters and shared data items.
I’m first idea is to append a pipeline right after the PublishItem.PerformAction, and if it is a page, then save it's full HTML. This will save the page whenever the rendering-parameters or the fields on the page are changed. But will not save the page if the shared data is changed. So when a shared data is published, then I will have to check all the pages, in order to see, if any of them are using the shared data being published.
The disadvantages of this approach, is that a lot have to be saved to the database, due to I’m saving all the HTML on the page.
My question is - are there an easier/better way of doing this?