{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/764","repository_url":"https://api.github.com/repos/getgrav/grav-plugin-admin","labels_url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/764/comments","events_url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/764/events","html_url":"https://github.com/getgrav/grav-plugin-admin/issues/764","id":175252681,"number":764,"title":"Prevent MS Edge from caching the page list","user":{"login":"maxfrigge","id":11060313,"avatar_url":"https://avatars.githubusercontent.com/u/11060313?v=3","gravatar_id":"","url":"https://api.github.com/users/maxfrigge","html_url":"https://github.com/maxfrigge","followers_url":"https://api.github.com/users/maxfrigge/followers","following_url":"https://api.github.com/users/maxfrigge/following{/other_user}","gists_url":"https://api.github.com/users/maxfrigge/gists{/gist_id}","starred_url":"https://api.github.com/users/maxfrigge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxfrigge/subscriptions","organizations_url":"https://api.github.com/users/maxfrigge/orgs","repos_url":"https://api.github.com/users/maxfrigge/repos","events_url":"https://api.github.com/users/maxfrigge/events{/privacy}","received_events_url":"https://api.github.com/users/maxfrigge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T13:52:09Z","updated_at":"2016-09-06T14:27:00Z","closed_at":null,"body":"There seems to be a caching issue with MS Edge - it's working well on Chrome. \r\n\r\nWhen you change a page name and then navigate to the page list it will still show the old name until you hit the browser refresh button. Seems that just setting `Pragma: no-cache` is not enough here. \r\n\r\nIt also seems that the `Cache-Control` header is still having a `max-age=604800`. \r\n\r\nTaken from a SO post - this seems to be more reliable.\r\n\r\n```php\r\nheader(\"Cache-Control: no-cache, no-store, must-revalidate\"); // HTTP 1.1.\r\nheader(\"Pragma: no-cache\"); // HTTP 1.0.\r\nheader(\"Expires: 0\"); // Proxies.\r\n```"},"comment":{"url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/comments/244967310","html_url":"https://github.com/getgrav/grav-plugin-admin/issues/764#issuecomment-244967310","issue_url":"https://api.github.com/repos/getgrav/grav-plugin-admin/issues/764","id":244967310,"user":{"login":"maxfrigge","id":11060313,"avatar_url":"https://avatars.githubusercontent.com/u/11060313?v=3","gravatar_id":"","url":"https://api.github.com/users/maxfrigge","html_url":"https://github.com/maxfrigge","followers_url":"https://api.github.com/users/maxfrigge/followers","following_url":"https://api.github.com/users/maxfrigge/following{/other_user}","gists_url":"https://api.github.com/users/maxfrigge/gists{/gist_id}","starred_url":"https://api.github.com/users/maxfrigge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxfrigge/subscriptions","organizations_url":"https://api.github.com/users/maxfrigge/orgs","repos_url":"https://api.github.com/users/maxfrigge/repos","events_url":"https://api.github.com/users/maxfrigge/events{/privacy}","received_events_url":"https://api.github.com/users/maxfrigge/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:27:00Z","updated_at":"2016-09-06T14:27:00Z","body":"I think I narrowed it down. It seems that my page cache settings (expires and lifetime) caused this to happen. When I set them to 0 the admin works fine and nothing gets cached. \r\n\r\nI think it would be good to ignore any cache settings for the admin pages and make sure that those pages never get cached."}}
{"actor":{"display_login":"maxfrigge"}}