{"action":"created","issue":{"url":"https://api.github.com/repos/craftcms/docs/issues/159","repository_url":"https://api.github.com/repos/craftcms/docs","labels_url":"https://api.github.com/repos/craftcms/docs/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/craftcms/docs/issues/159/comments","events_url":"https://api.github.com/repos/craftcms/docs/issues/159/events","html_url":"https://github.com/craftcms/docs/issues/159","id":347803782,"node_id":"MDU6SXNzdWUzNDc4MDM3ODI=","number":159,"title":"docs server tweaks","user":{"login":"XhmikosR","id":349621,"node_id":"MDQ6VXNlcjM0OTYyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/349621?v=4","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"angrybrad","id":61869,"node_id":"MDQ6VXNlcjYxODY5","avatar_url":"https://avatars1.githubusercontent.com/u/61869?v=4","gravatar_id":"","url":"https://api.github.com/users/angrybrad","html_url":"https://github.com/angrybrad","followers_url":"https://api.github.com/users/angrybrad/followers","following_url":"https://api.github.com/users/angrybrad/following{/other_user}","gists_url":"https://api.github.com/users/angrybrad/gists{/gist_id}","starred_url":"https://api.github.com/users/angrybrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angrybrad/subscriptions","organizations_url":"https://api.github.com/users/angrybrad/orgs","repos_url":"https://api.github.com/users/angrybrad/repos","events_url":"https://api.github.com/users/angrybrad/events{/privacy}","received_events_url":"https://api.github.com/users/angrybrad/received_events","type":"User","site_admin":false},"assignees":[{"login":"angrybrad","id":61869,"node_id":"MDQ6VXNlcjYxODY5","avatar_url":"https://avatars1.githubusercontent.com/u/61869?v=4","gravatar_id":"","url":"https://api.github.com/users/angrybrad","html_url":"https://github.com/angrybrad","followers_url":"https://api.github.com/users/angrybrad/followers","following_url":"https://api.github.com/users/angrybrad/following{/other_user}","gists_url":"https://api.github.com/users/angrybrad/gists{/gist_id}","starred_url":"https://api.github.com/users/angrybrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angrybrad/subscriptions","organizations_url":"https://api.github.com/users/angrybrad/orgs","repos_url":"https://api.github.com/users/angrybrad/repos","events_url":"https://api.github.com/users/angrybrad/events{/privacy}","received_events_url":"https://api.github.com/users/angrybrad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-06T07:08:12Z","updated_at":"2018-08-07T14:14:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi, there!\r\n\r\nSo, it seems that currently you don't have the following on the docs server:\r\n\r\n1. gzip enabled\r\n2. long Cache-Control headers; this needs to be tested before but it seems there's proper cache busting via vuepress\r\n\r\nBTW, have you thought about using GitHub pages or even another solution like Netlify? With Netlify you should be able to have build links for each PR for example.\r\n\r\nPS. I'm not affiliated with GitHub nor Netlify :)\r\nPPS. I'll make a couple of PRs for a few more trivial issues we can improve."},"comment":{"url":"https://api.github.com/repos/craftcms/docs/issues/comments/411071424","html_url":"https://github.com/craftcms/docs/issues/159#issuecomment-411071424","issue_url":"https://api.github.com/repos/craftcms/docs/issues/159","id":411071424,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTA3MTQyNA==","user":{"login":"XhmikosR","id":349621,"node_id":"MDQ6VXNlcjM0OTYyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/349621?v=4","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T14:14:47Z","updated_at":"2018-08-07T14:14:47Z","author_association":"CONTRIBUTOR","body":"Also, scratch the http/2 comment too; it's already enabled.\r\n\r\nSo, to sum this up:\r\n\r\n1. enable gzip compression\r\n2. maybe specify `charset=utf-8` for CSS, HTML and JS files. This can cause serious issues. Like https://docs.craftcms.com/v3/assets/js/206.b2ea0170.js see the garbled characters there `What itâ€™s For`."}}
{"actor":{"display_login":"XhmikosR"}}