Customer Use case
Our customer had a requirement to send some HTTP headers with the last publication date of the page in it, in order to optimize browser caching. For this reason we needed to include the last published date from Tridion in our DD4T PageModel.
Context
The DD4T ViewModel functionality lacks the option to include the last publish date. Fortunately, you can create your own attributes.
In this blog I will show you how easy it is to create a custom attribute to include the last publish date of a page in your models. Continue reading