{"action":"created","issue":{"url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/31","repository_url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet","labels_url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/31/comments","events_url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/31/events","html_url":"https://github.com/sdl/dxa-web-application-dotnet/issues/31","id":170418567,"number":31,"title":"PageController to write out Last-Modified response header","user":{"login":"jsuurd","id":11564982,"avatar_url":"https://avatars.githubusercontent.com/u/11564982?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuurd","html_url":"https://github.com/jsuurd","followers_url":"https://api.github.com/users/jsuurd/followers","following_url":"https://api.github.com/users/jsuurd/following{/other_user}","gists_url":"https://api.github.com/users/jsuurd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuurd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuurd/subscriptions","organizations_url":"https://api.github.com/users/jsuurd/orgs","repos_url":"https://api.github.com/users/jsuurd/repos","events_url":"https://api.github.com/users/jsuurd/events{/privacy}","received_events_url":"https://api.github.com/users/jsuurd/received_events","type":"User","site_admin":false},"labels":[{"id":246589999,"url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-10T13:35:54Z","updated_at":"2016-11-03T16:06:38Z","closed_at":null,"body":"When a CDN is used in front of DXA, it would be helpful if the PageController could write out the Last-Modified response header with the last published timestamp as value to support content invalidation. For background see [Akamai CCU API Concepts](https://developer.akamai.com/api/purge/ccu/overview.html).\n"},"comment":{"url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/comments/258188948","html_url":"https://github.com/sdl/dxa-web-application-dotnet/issues/31#issuecomment-258188948","issue_url":"https://api.github.com/repos/sdl/dxa-web-application-dotnet/issues/31","id":258188948,"user":{"login":"rpannekoek","id":4688784,"avatar_url":"https://avatars.githubusercontent.com/u/4688784?v=3","gravatar_id":"","url":"https://api.github.com/users/rpannekoek","html_url":"https://github.com/rpannekoek","followers_url":"https://api.github.com/users/rpannekoek/followers","following_url":"https://api.github.com/users/rpannekoek/following{/other_user}","gists_url":"https://api.github.com/users/rpannekoek/gists{/gist_id}","starred_url":"https://api.github.com/users/rpannekoek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpannekoek/subscriptions","organizations_url":"https://api.github.com/users/rpannekoek/orgs","repos_url":"https://api.github.com/users/rpannekoek/repos","events_url":"https://api.github.com/users/rpannekoek/events{/privacy}","received_events_url":"https://api.github.com/users/rpannekoek/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T16:06:38Z","updated_at":"2016-11-03T16:06:38Z","body":"The question is whether it is useful to put a (potentially wrong) `Last-Modified` response header in, without processing `If-Modified-Since` request headers? \r\nTypically, the `Last-Modified` response header is used to trigger a `If-Modified-Since` header on subsequent requests and the server can then send an `HTTP 304 Not Modified` response if the page wasn't modified since that date/time.\r\nHowever, accurately determining whether a (potentially dynamic) Page is modified is not easy.\r\n\r\nI agree that \"pages with dynamic content should probably not be cached (by the CDN) to begin with\". But how do we distinguish between \"pages with dynamic content\" and \"pages with static content\"? Isn't the whole idea behind Dynamic Delivery architectures like DXA that the majority of pages have (more or less) dynamic content?\r\n"}}
{"actor":{"display_login":"rpannekoek"}}