{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/documentation/pulls/comments/40762034","id":40762034,"diff_hunk":"@@ -0,0 +1,193 @@\n+==========================\n+Configuring Memory Caching\n+==========================\n+\n+You can significantly improve your ownCloud server performance with memory \n+caching, where frequently-requested objects are stored in memory for faster \n+retrieval. There are two types of caches to use: PHP opcache, and data caching \n+for your Web server. If you do not install a memcache you will see a warning on \n+your ownCloud admin page. (A memcache is not required and you may ignore the warning if you prefer.)\n+\n+A PHP opcache stores compiled PHP scripts so they don't need to be re-compiled \n+every time they are called. PHP bundles an opcache since version 5.5, so you \n+don't need to install or configure it.\n+\n+If you are using PHP 5.4, which is the oldest supported PHP version for \n+ownCloud, you may install the Alternative PHP Cache (APC). This is both an \n+opcache and data cache. APC has not been updated since 2012 and is essentially \n+dead, and PHP 5.4 is very old and lags far behind later releases. If it is possible \n+to upgrade to a later PHP release that is the best option.\n+\n+Data caching is supplied by the Alternative PHP Cache, user (APCu) in PHP \n+5.5+, Memcached, or Redis.\n+\n+ownCloud supports multiple memory caching backends, so you can choose the type \n+of memcache that best fits your needs. The supported caching backends are:\n+\n+* `APC <http://php.net/manual/en/book.apc.php>`_ \n+   A local cache for systems running PHP 5.4.\n+* `APCu <https://pecl.php.net/package/APCu>`_ \n+   A local cache for systems running PHP 5.5 and up, APCu 4.06 or better required.\n+* `Memcached <http://www.memcached.org/>`_ \n+   Distributed cache for multi-server ownCloud installations.\n+* `Redis <http://redis.io/>`_ \n+   For distributed caching, and required for Transactional File Locking.\n+\n+These are supported but not recommended:\n+\n+* `XCache <http://xcache.lighttpd.net/>`_ \n+* `ArrayCache <http://www.arbylon.net/projects/knowceans-tools/doc/org/knowceans/util/ArrayCache.html>`_\n+   \n+Memcaches must be explicitly configured in ownCloud 8.1 and up by installing \n+and configuring your desired cache, and then adding the appropriate entry to \n+``config.php``.\n+\n+You may use both a local and a distributed cache. Recommended caches are APCu ","path":"admin_manual/configuration_server/caching_configuration.rst","position":45,"original_position":45,"commit_id":"b28d5e255fde39bc36d18d7dc576e544598198a2","original_commit_id":"b28d5e255fde39bc36d18d7dc576e544598198a2","user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"body":"... and opcache as opcode cache?","created_at":"2015-09-30T06:28:27Z","updated_at":"2015-09-30T06:28:27Z","html_url":"https://github.com/owncloud/documentation/pull/1710#discussion_r40762034","pull_request_url":"https://api.github.com/repos/owncloud/documentation/pulls/1710","_links":{"self":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/comments/40762034"},"html":{"href":"https://github.com/owncloud/documentation/pull/1710#discussion_r40762034"},"pull_request":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/1710"}}},"pull_request":{"url":"https://api.github.com/repos/owncloud/documentation/pulls/1710","id":46322065,"html_url":"https://github.com/owncloud/documentation/pull/1710","diff_url":"https://github.com/owncloud/documentation/pull/1710.diff","patch_url":"https://github.com/owncloud/documentation/pull/1710.patch","issue_url":"https://api.github.com/repos/owncloud/documentation/issues/1710","number":1710,"state":"open","locked":false,"title":"new caching howto","user":{"login":"carlaschroder","id":8388387,"avatar_url":"https://avatars.githubusercontent.com/u/8388387?v=3","gravatar_id":"","url":"https://api.github.com/users/carlaschroder","html_url":"https://github.com/carlaschroder","followers_url":"https://api.github.com/users/carlaschroder/followers","following_url":"https://api.github.com/users/carlaschroder/following{/other_user}","gists_url":"https://api.github.com/users/carlaschroder/gists{/gist_id}","starred_url":"https://api.github.com/users/carlaschroder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlaschroder/subscriptions","organizations_url":"https://api.github.com/users/carlaschroder/orgs","repos_url":"https://api.github.com/users/carlaschroder/repos","events_url":"https://api.github.com/users/carlaschroder/events{/privacy}","received_events_url":"https://api.github.com/users/carlaschroder/received_events","type":"User","site_admin":false},"body":"Please review; I tested everything as well as I could, but this still needs expert eyeballs. \r\n@MorrisJobke \r\n@DeepDiver1975 \r\n@Xenopathic \r\n","created_at":"2015-09-29T19:40:06Z","updated_at":"2015-09-30T06:28:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"093017effbd24ca2b029901db592966eb52da04e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owncloud/documentation/pulls/1710/commits","review_comments_url":"https://api.github.com/repos/owncloud/documentation/pulls/1710/comments","review_comment_url":"https://api.github.com/repos/owncloud/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/documentation/issues/1710/comments","statuses_url":"https://api.github.com/repos/owncloud/documentation/statuses/b28d5e255fde39bc36d18d7dc576e544598198a2","head":{"label":"owncloud:caching","ref":"caching","sha":"b28d5e255fde39bc36d18d7dc576e544598198a2","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":6405172,"name":"documentation","full_name":"owncloud/documentation","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/documentation","description":"Documentation and manual","fork":false,"url":"https://api.github.com/repos/owncloud/documentation","forks_url":"https://api.github.com/repos/owncloud/documentation/forks","keys_url":"https://api.github.com/repos/owncloud/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/documentation/teams","hooks_url":"https://api.github.com/repos/owncloud/documentation/hooks","issue_events_url":"https://api.github.com/repos/owncloud/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/documentation/events","assignees_url":"https://api.github.com/repos/owncloud/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/documentation/tags","blobs_url":"https://api.github.com/repos/owncloud/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/documentation/languages","stargazers_url":"https://api.github.com/repos/owncloud/documentation/stargazers","contributors_url":"https://api.github.com/repos/owncloud/documentation/contributors","subscribers_url":"https://api.github.com/repos/owncloud/documentation/subscribers","subscription_url":"https://api.github.com/repos/owncloud/documentation/subscription","commits_url":"https://api.github.com/repos/owncloud/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/documentation/merges","archive_url":"https://api.github.com/repos/owncloud/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/documentation/downloads","issues_url":"https://api.github.com/repos/owncloud/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/documentation/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/documentation/releases{/id}","created_at":"2012-10-26T14:36:00Z","updated_at":"2015-09-17T01:35:35Z","pushed_at":"2015-09-29T19:41:34Z","git_url":"git://github.com/owncloud/documentation.git","ssh_url":"git@github.com:owncloud/documentation.git","clone_url":"https://github.com/owncloud/documentation.git","svn_url":"https://github.com/owncloud/documentation","homepage":null,"size":55058,"stargazers_count":110,"watchers_count":110,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":110,"forks":162,"open_issues":110,"watchers":110,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"4c012c89cb2c6d4e0e890b7571c5db5ec558081a","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":6405172,"name":"documentation","full_name":"owncloud/documentation","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/documentation","description":"Documentation and manual","fork":false,"url":"https://api.github.com/repos/owncloud/documentation","forks_url":"https://api.github.com/repos/owncloud/documentation/forks","keys_url":"https://api.github.com/repos/owncloud/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/documentation/teams","hooks_url":"https://api.github.com/repos/owncloud/documentation/hooks","issue_events_url":"https://api.github.com/repos/owncloud/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/documentation/events","assignees_url":"https://api.github.com/repos/owncloud/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/documentation/tags","blobs_url":"https://api.github.com/repos/owncloud/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/documentation/languages","stargazers_url":"https://api.github.com/repos/owncloud/documentation/stargazers","contributors_url":"https://api.github.com/repos/owncloud/documentation/contributors","subscribers_url":"https://api.github.com/repos/owncloud/documentation/subscribers","subscription_url":"https://api.github.com/repos/owncloud/documentation/subscription","commits_url":"https://api.github.com/repos/owncloud/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/documentation/merges","archive_url":"https://api.github.com/repos/owncloud/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/documentation/downloads","issues_url":"https://api.github.com/repos/owncloud/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/documentation/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/documentation/releases{/id}","created_at":"2012-10-26T14:36:00Z","updated_at":"2015-09-17T01:35:35Z","pushed_at":"2015-09-29T19:41:34Z","git_url":"git://github.com/owncloud/documentation.git","ssh_url":"git@github.com:owncloud/documentation.git","clone_url":"https://github.com/owncloud/documentation.git","svn_url":"https://github.com/owncloud/documentation","homepage":null,"size":55058,"stargazers_count":110,"watchers_count":110,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":110,"forks":162,"open_issues":110,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/1710"},"html":{"href":"https://github.com/owncloud/documentation/pull/1710"},"issue":{"href":"https://api.github.com/repos/owncloud/documentation/issues/1710"},"comments":{"href":"https://api.github.com/repos/owncloud/documentation/issues/1710/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/1710/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/documentation/pulls/1710/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/documentation/statuses/b28d5e255fde39bc36d18d7dc576e544598198a2"}}}}