{"action":"opened","number":1816,"pull_request":{"url":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816","id":53560770,"html_url":"https://github.com/xpressengine/xe-core/pull/1816","diff_url":"https://github.com/xpressengine/xe-core/pull/1816.diff","patch_url":"https://github.com/xpressengine/xe-core/pull/1816.patch","issue_url":"https://api.github.com/repos/xpressengine/xe-core/issues/1816","number":1816,"state":"open","locked":false,"title":"프로필 이미지 URL에 filemtime을 추가하여 변경시 캐시 갱신 유도","user":{"login":"kijin","id":164058,"avatar_url":"https://avatars.githubusercontent.com/u/164058?v=3","gravatar_id":"","url":"https://api.github.com/users/kijin","html_url":"https://github.com/kijin","followers_url":"https://api.github.com/users/kijin/followers","following_url":"https://api.github.com/users/kijin/following{/other_user}","gists_url":"https://api.github.com/users/kijin/gists{/gist_id}","starred_url":"https://api.github.com/users/kijin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kijin/subscriptions","organizations_url":"https://api.github.com/users/kijin/orgs","repos_url":"https://api.github.com/users/kijin/repos","events_url":"https://api.github.com/users/kijin/events{/privacy}","received_events_url":"https://api.github.com/users/kijin/received_events","type":"User","site_admin":false},"body":"회원이 프로필 사진을 새로 업로드하더라도 확장자가 같으면 URL이 동일하기 때문에, 일부러 새로고침을 하지 않으면 갱신되지 않는 문제가 있습니다. 웹서버의 `Expires` 설정이나 클라우드플레어 등을 사용하여 장기간 캐싱을 유도하는 경우에는 문제가 더 커집니다.\r\n\r\n이 패치는 기존의 XE 코어에서 CSS, JS 파일 변경시 URL에 자동으로 filemtime을 추가하여 캐시 갱신을 유도하는 기능을 회원 프로필 사진에도 똑같이 적용하여, 웹서버의 `Expires` 설정이나 클라우드플레어 등을 사용하는 사이트에서도 회원 프로필 사진이 즉시 업데이트되도록 합니다.\r\n","created_at":"2015-12-14T12:54:01Z","updated_at":"2015-12-14T12:54:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816/commits","review_comments_url":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816/comments","review_comment_url":"https://api.github.com/repos/xpressengine/xe-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xpressengine/xe-core/issues/1816/comments","statuses_url":"https://api.github.com/repos/xpressengine/xe-core/statuses/6f4fa03dc0c2aa17aaa6e5a1d397c7fa867def16","head":{"label":"kijin:fix/profile-image-mtime","ref":"fix/profile-image-mtime","sha":"6f4fa03dc0c2aa17aaa6e5a1d397c7fa867def16","user":{"login":"kijin","id":164058,"avatar_url":"https://avatars.githubusercontent.com/u/164058?v=3","gravatar_id":"","url":"https://api.github.com/users/kijin","html_url":"https://github.com/kijin","followers_url":"https://api.github.com/users/kijin/followers","following_url":"https://api.github.com/users/kijin/following{/other_user}","gists_url":"https://api.github.com/users/kijin/gists{/gist_id}","starred_url":"https://api.github.com/users/kijin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kijin/subscriptions","organizations_url":"https://api.github.com/users/kijin/orgs","repos_url":"https://api.github.com/users/kijin/repos","events_url":"https://api.github.com/users/kijin/events{/privacy}","received_events_url":"https://api.github.com/users/kijin/received_events","type":"User","site_admin":false},"repo":{"id":22745446,"name":"xe-core","full_name":"kijin/xe-core","owner":{"login":"kijin","id":164058,"avatar_url":"https://avatars.githubusercontent.com/u/164058?v=3","gravatar_id":"","url":"https://api.github.com/users/kijin","html_url":"https://github.com/kijin","followers_url":"https://api.github.com/users/kijin/followers","following_url":"https://api.github.com/users/kijin/following{/other_user}","gists_url":"https://api.github.com/users/kijin/gists{/gist_id}","starred_url":"https://api.github.com/users/kijin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kijin/subscriptions","organizations_url":"https://api.github.com/users/kijin/orgs","repos_url":"https://api.github.com/users/kijin/repos","events_url":"https://api.github.com/users/kijin/events{/privacy}","received_events_url":"https://api.github.com/users/kijin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kijin/xe-core","description":"PHP Open Source CMS","fork":true,"url":"https://api.github.com/repos/kijin/xe-core","forks_url":"https://api.github.com/repos/kijin/xe-core/forks","keys_url":"https://api.github.com/repos/kijin/xe-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kijin/xe-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kijin/xe-core/teams","hooks_url":"https://api.github.com/repos/kijin/xe-core/hooks","issue_events_url":"https://api.github.com/repos/kijin/xe-core/issues/events{/number}","events_url":"https://api.github.com/repos/kijin/xe-core/events","assignees_url":"https://api.github.com/repos/kijin/xe-core/assignees{/user}","branches_url":"https://api.github.com/repos/kijin/xe-core/branches{/branch}","tags_url":"https://api.github.com/repos/kijin/xe-core/tags","blobs_url":"https://api.github.com/repos/kijin/xe-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kijin/xe-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kijin/xe-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/kijin/xe-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kijin/xe-core/statuses/{sha}","languages_url":"https://api.github.com/repos/kijin/xe-core/languages","stargazers_url":"https://api.github.com/repos/kijin/xe-core/stargazers","contributors_url":"https://api.github.com/repos/kijin/xe-core/contributors","subscribers_url":"https://api.github.com/repos/kijin/xe-core/subscribers","subscription_url":"https://api.github.com/repos/kijin/xe-core/subscription","commits_url":"https://api.github.com/repos/kijin/xe-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/kijin/xe-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/kijin/xe-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/kijin/xe-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/kijin/xe-core/contents/{+path}","compare_url":"https://api.github.com/repos/kijin/xe-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kijin/xe-core/merges","archive_url":"https://api.github.com/repos/kijin/xe-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kijin/xe-core/downloads","issues_url":"https://api.github.com/repos/kijin/xe-core/issues{/number}","pulls_url":"https://api.github.com/repos/kijin/xe-core/pulls{/number}","milestones_url":"https://api.github.com/repos/kijin/xe-core/milestones{/number}","notifications_url":"https://api.github.com/repos/kijin/xe-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kijin/xe-core/labels{/name}","releases_url":"https://api.github.com/repos/kijin/xe-core/releases{/id}","created_at":"2014-08-08T03:59:00Z","updated_at":"2015-12-08T06:28:52Z","pushed_at":"2015-12-14T12:48:34Z","git_url":"git://github.com/kijin/xe-core.git","ssh_url":"git@github.com:kijin/xe-core.git","clone_url":"https://github.com/kijin/xe-core.git","svn_url":"https://github.com/kijin/xe-core","homepage":"http://www.xpressengine.com","size":84428,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"php7"}},"base":{"label":"xpressengine:develop","ref":"develop","sha":"78be4d5626b610677b1a85d35d9bcf8ebe6dbfe7","user":{"login":"xpressengine","id":1429259,"avatar_url":"https://avatars.githubusercontent.com/u/1429259?v=3","gravatar_id":"","url":"https://api.github.com/users/xpressengine","html_url":"https://github.com/xpressengine","followers_url":"https://api.github.com/users/xpressengine/followers","following_url":"https://api.github.com/users/xpressengine/following{/other_user}","gists_url":"https://api.github.com/users/xpressengine/gists{/gist_id}","starred_url":"https://api.github.com/users/xpressengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpressengine/subscriptions","organizations_url":"https://api.github.com/users/xpressengine/orgs","repos_url":"https://api.github.com/users/xpressengine/repos","events_url":"https://api.github.com/users/xpressengine/events{/privacy}","received_events_url":"https://api.github.com/users/xpressengine/received_events","type":"Organization","site_admin":false},"repo":{"id":7953576,"name":"xe-core","full_name":"xpressengine/xe-core","owner":{"login":"xpressengine","id":1429259,"avatar_url":"https://avatars.githubusercontent.com/u/1429259?v=3","gravatar_id":"","url":"https://api.github.com/users/xpressengine","html_url":"https://github.com/xpressengine","followers_url":"https://api.github.com/users/xpressengine/followers","following_url":"https://api.github.com/users/xpressengine/following{/other_user}","gists_url":"https://api.github.com/users/xpressengine/gists{/gist_id}","starred_url":"https://api.github.com/users/xpressengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpressengine/subscriptions","organizations_url":"https://api.github.com/users/xpressengine/orgs","repos_url":"https://api.github.com/users/xpressengine/repos","events_url":"https://api.github.com/users/xpressengine/events{/privacy}","received_events_url":"https://api.github.com/users/xpressengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xpressengine/xe-core","description":"PHP Open Source CMS","fork":false,"url":"https://api.github.com/repos/xpressengine/xe-core","forks_url":"https://api.github.com/repos/xpressengine/xe-core/forks","keys_url":"https://api.github.com/repos/xpressengine/xe-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xpressengine/xe-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xpressengine/xe-core/teams","hooks_url":"https://api.github.com/repos/xpressengine/xe-core/hooks","issue_events_url":"https://api.github.com/repos/xpressengine/xe-core/issues/events{/number}","events_url":"https://api.github.com/repos/xpressengine/xe-core/events","assignees_url":"https://api.github.com/repos/xpressengine/xe-core/assignees{/user}","branches_url":"https://api.github.com/repos/xpressengine/xe-core/branches{/branch}","tags_url":"https://api.github.com/repos/xpressengine/xe-core/tags","blobs_url":"https://api.github.com/repos/xpressengine/xe-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xpressengine/xe-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xpressengine/xe-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xpressengine/xe-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xpressengine/xe-core/statuses/{sha}","languages_url":"https://api.github.com/repos/xpressengine/xe-core/languages","stargazers_url":"https://api.github.com/repos/xpressengine/xe-core/stargazers","contributors_url":"https://api.github.com/repos/xpressengine/xe-core/contributors","subscribers_url":"https://api.github.com/repos/xpressengine/xe-core/subscribers","subscription_url":"https://api.github.com/repos/xpressengine/xe-core/subscription","commits_url":"https://api.github.com/repos/xpressengine/xe-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xpressengine/xe-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xpressengine/xe-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xpressengine/xe-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xpressengine/xe-core/contents/{+path}","compare_url":"https://api.github.com/repos/xpressengine/xe-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xpressengine/xe-core/merges","archive_url":"https://api.github.com/repos/xpressengine/xe-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xpressengine/xe-core/downloads","issues_url":"https://api.github.com/repos/xpressengine/xe-core/issues{/number}","pulls_url":"https://api.github.com/repos/xpressengine/xe-core/pulls{/number}","milestones_url":"https://api.github.com/repos/xpressengine/xe-core/milestones{/number}","notifications_url":"https://api.github.com/repos/xpressengine/xe-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xpressengine/xe-core/labels{/name}","releases_url":"https://api.github.com/repos/xpressengine/xe-core/releases{/id}","created_at":"2013-02-01T07:16:05Z","updated_at":"2015-12-14T00:21:34Z","pushed_at":"2015-12-14T06:27:01Z","git_url":"git://github.com/xpressengine/xe-core.git","ssh_url":"git@github.com:xpressengine/xe-core.git","clone_url":"https://github.com/xpressengine/xe-core.git","svn_url":"https://github.com/xpressengine/xe-core","homepage":"http://www.xpressengine.com","size":85396,"stargazers_count":229,"watchers_count":229,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":213,"mirror_url":null,"open_issues_count":384,"forks":213,"open_issues":384,"watchers":229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816"},"html":{"href":"https://github.com/xpressengine/xe-core/pull/1816"},"issue":{"href":"https://api.github.com/repos/xpressengine/xe-core/issues/1816"},"comments":{"href":"https://api.github.com/repos/xpressengine/xe-core/issues/1816/comments"},"review_comments":{"href":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816/comments"},"review_comment":{"href":"https://api.github.com/repos/xpressengine/xe-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xpressengine/xe-core/pulls/1816/commits"},"statuses":{"href":"https://api.github.com/repos/xpressengine/xe-core/statuses/6f4fa03dc0c2aa17aaa6e5a1d397c7fa867def16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}