{"action":"created","issue":{"url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/343","repository_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms","labels_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/343/comments","events_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/343/events","html_url":"https://github.com/RefugeRestrooms/refugerestrooms/issues/343","id":227813099,"number":343,"title":"Two issues accessing the new refugerestrooms.org","user":{"login":"DeeDeeG","id":20157115,"avatar_url":"https://avatars1.githubusercontent.com/u/20157115?v=3","gravatar_id":"","url":"https://api.github.com/users/DeeDeeG","html_url":"https://github.com/DeeDeeG","followers_url":"https://api.github.com/users/DeeDeeG/followers","following_url":"https://api.github.com/users/DeeDeeG/following{/other_user}","gists_url":"https://api.github.com/users/DeeDeeG/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeDeeG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeDeeG/subscriptions","organizations_url":"https://api.github.com/users/DeeDeeG/orgs","repos_url":"https://api.github.com/users/DeeDeeG/repos","events_url":"https://api.github.com/users/DeeDeeG/events{/privacy}","received_events_url":"https://api.github.com/users/DeeDeeG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-10T21:16:37Z","updated_at":"2017-05-11T20:20:25Z","closed_at":null,"body":"Hi all,\r\n\r\nHere is what's up with this:\r\n\r\n- Trying to visit the site with \"www\" in the URL (\"http://www.refugerestrooms.org\") gave me an \"internal server error\". Visiting \"http://refugerestrooms.org\" *without www in the URL*, worked fine.\r\n    - The problem went away after I cleared my browser cache, so this will be solved for all users automatically, after their caches expire. Users can clear cache to workaround the issue.\r\n        - [how to clear cache for all browsers](http://www.pcmag.com/article2/0,2817,2480401,00.asp)\r\n\r\n- Visiting using HTTPS, at https://refugerestrooms.org, doesn't work, because our HTTPS certificate is set up to only work for [any-subdomain].herokuapp.com\r\n\r\nI'm not familiar with how these are addressed, but I thought I'd report these issues anyway."},"comment":{"url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/comments/300905849","html_url":"https://github.com/RefugeRestrooms/refugerestrooms/issues/343#issuecomment-300905849","issue_url":"https://api.github.com/repos/RefugeRestrooms/refugerestrooms/issues/343","id":300905849,"user":{"login":"DeeDeeG","id":20157115,"avatar_url":"https://avatars1.githubusercontent.com/u/20157115?v=3","gravatar_id":"","url":"https://api.github.com/users/DeeDeeG","html_url":"https://github.com/DeeDeeG","followers_url":"https://api.github.com/users/DeeDeeG/followers","following_url":"https://api.github.com/users/DeeDeeG/following{/other_user}","gists_url":"https://api.github.com/users/DeeDeeG/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeDeeG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeDeeG/subscriptions","organizations_url":"https://api.github.com/users/DeeDeeG/orgs","repos_url":"https://api.github.com/users/DeeDeeG/repos","events_url":"https://api.github.com/users/DeeDeeG/events{/privacy}","received_events_url":"https://api.github.com/users/DeeDeeG/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T20:20:25Z","updated_at":"2017-05-11T20:20:25Z","body":"Whoops, I think what I was looking for was HTTP Cache headers.\r\n\r\nSuch as:\r\n\r\n```\r\n    config.public_file_server.headers = {\r\n      'Cache-Control' => 'public, max-age=172800'\r\n    }\r\n```\r\n\r\nFrom: [config/environments/development.rb](https://github.com/RefugeRestrooms/refugerestrooms/blob/bcdcb275bcb91191d1f1a6af18991dbf4fb20f30/config/environments/development.rb#L21)\r\n\r\nWe should just add something like that to our production config. If we want to deploy a hotfix, to this caching issue, I mean."}}
{"actor":{"display_login":"DeeDeeG"}}