{"action":"created","issue":{"url":"https://api.github.com/repos/timber/timber/issues/973","repository_url":"https://api.github.com/repos/timber/timber","labels_url":"https://api.github.com/repos/timber/timber/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/timber/timber/issues/973/comments","events_url":"https://api.github.com/repos/timber/timber/issues/973/events","html_url":"https://github.com/timber/timber/issues/973","id":152970017,"number":973,"title":"Q:Timber cache","user":{"login":"ogrosko","id":2938503,"avatar_url":"https://avatars.githubusercontent.com/u/2938503?v=3","gravatar_id":"","url":"https://api.github.com/users/ogrosko","html_url":"https://github.com/ogrosko","followers_url":"https://api.github.com/users/ogrosko/followers","following_url":"https://api.github.com/users/ogrosko/following{/other_user}","gists_url":"https://api.github.com/users/ogrosko/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrosko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrosko/subscriptions","organizations_url":"https://api.github.com/users/ogrosko/orgs","repos_url":"https://api.github.com/users/ogrosko/repos","events_url":"https://api.github.com/users/ogrosko/events{/privacy}","received_events_url":"https://api.github.com/users/ogrosko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/timber/timber/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-04T09:35:12Z","updated_at":"2016-05-17T15:22:52Z","closed_at":null,"body":"Hi I have question about timber cache\r\nI have following config:\r\n\r\n`define('CACHE_TIME', 86400);\r\ndefine('TIMBER_CACHE', true);`\r\n\r\n`\\Timber::$cache = TIMBER_CACHE;`\r\n\r\neach template is rendered as follow:\r\n`\\Timber::render( 'pages/single/event.twig', $context, CACHE_TIME);`\r\n\r\nIn DB I can see some records like \r\n\r\n> _transient_timberloader...\r\n\r\nAnd each minute database grow up in 1MB\r\nAnd wp_options getting huge 100-200MB then queries on wp_options are too long\r\n\r\nWhat I'm doing wrong? What is the best practise for cache settings?"},"comment":{"url":"https://api.github.com/repos/timber/timber/issues/comments/219752786","html_url":"https://github.com/timber/timber/issues/973#issuecomment-219752786","issue_url":"https://api.github.com/repos/timber/timber/issues/973","id":219752786,"user":{"login":"ogrosko","id":2938503,"avatar_url":"https://avatars.githubusercontent.com/u/2938503?v=3","gravatar_id":"","url":"https://api.github.com/users/ogrosko","html_url":"https://github.com/ogrosko","followers_url":"https://api.github.com/users/ogrosko/followers","following_url":"https://api.github.com/users/ogrosko/following{/other_user}","gists_url":"https://api.github.com/users/ogrosko/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrosko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrosko/subscriptions","organizations_url":"https://api.github.com/users/ogrosko/orgs","repos_url":"https://api.github.com/users/ogrosko/repos","events_url":"https://api.github.com/users/ogrosko/events{/privacy}","received_events_url":"https://api.github.com/users/ogrosko/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T15:22:52Z","updated_at":"2016-05-17T15:22:52Z","body":"No idea where is the problem\r\nAfter few days database grows to 250MB :( And no idea where is the problem.\r\n\r\nWhat about to disable timber cache?"}}