{"id":297,"date":"2009-03-04T22:02:11","date_gmt":"2009-03-04T12:32:11","guid":{"rendered":"http:\/\/www.clearchain.com\/blog\/?p=297"},"modified":"2009-03-04T22:02:11","modified_gmt":"2009-03-04T12:32:11","slug":"cgit-cache-updates","status":"publish","type":"post","link":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates","title":{"rendered":"cgit: cache updates"},"content":{"rendered":"<p>Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the freedesktop.org repos.<\/p>\n<p>First off a little background. Git web was replaced by cgit as cgit is both faster and the caching allowed annarchy to have some room to breath. This left a few issues which were only discovered later on. These were:<\/p>\n<ul>\n<li>Cgit&#8217;s main page idle field only used the &#8216;master&#8217; branch for timestamp<br \/>\n<span style=\"color: #00ff00;\">Now fixed, though the cache is only updated every 11 minutes (the main page NEEDS caching).<br \/>\nThis was fixed by using: <span style=\"color: #888888;\"><em>http:\/\/hjemli.net\/git\/cgit\/commit\/?id=57f6a8bf0de6c112cabc1d8e20ade2698bd886b7&amp;h=wip<\/em><\/span><br \/>\n<\/span><\/li>\n<li><span style=\"color: #00ff00;\"><span style=\"color: #000000;\">The summary pages for each repo would often appear locked due to caching bugs<br \/>\n<span style=\"color: #ff9900;\">Temporary Fix in Place &#8211; Repo summaries are currently not cached. The real fix is still in progress &#8211; fixing cgit bug.<br \/>\n<\/span><\/span><\/span><\/li>\n<\/ul>\n<p>With these to items fixed, things should now be back to normal. If not, let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the freedesktop.org repos. First off a little background. Git web was replaced by cgit as cgit is both faster and the caching allowed annarchy to<a href=\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\"> <font size=-2>[..more..]<\/font><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-297","post","type-post","status-publish","format-standard","hentry","category-freedesktop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>cgit: cache updates - ClearChain<\/title>\n<meta name=\"description\" content=\"Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin Close\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\"},\"author\":{\"name\":\"Benjamin Close\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\"},\"headline\":\"cgit: cache updates\",\"datePublished\":\"2009-03-04T12:32:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\"},\"wordCount\":184,\"commentCount\":2,\"articleSection\":[\"FreeDesktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\",\"url\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\",\"name\":\"cgit: cache updates - ClearChain\",\"isPartOf\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/#website\"},\"datePublished\":\"2009-03-04T12:32:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\"},\"description\":\"Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the\",\"breadcrumb\":{\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.clearchain.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cgit: cache updates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#website\",\"url\":\"https:\/\/www.clearchain.com\/blog\/\",\"name\":\"ClearChain\",\"description\":\"-= Daily Happenings =-\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.clearchain.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98\",\"name\":\"Benjamin Close\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg\",\"caption\":\"Benjamin Close\"},\"sameAs\":[\"http:\/\/www.clearchain.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cgit: cache updates - ClearChain","description":"Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates","twitter_misc":{"Written by":"Benjamin Close","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#article","isPartOf":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates"},"author":{"name":"Benjamin Close","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98"},"headline":"cgit: cache updates","datePublished":"2009-03-04T12:32:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates"},"wordCount":184,"commentCount":2,"articleSection":["FreeDesktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates","url":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates","name":"cgit: cache updates - ClearChain","isPartOf":{"@id":"https:\/\/www.clearchain.com\/blog\/#website"},"datePublished":"2009-03-04T12:32:11+00:00","author":{"@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98"},"description":"Hi Folks, a few changes have now been put in place to try and fix a few issues that people have been experiencing with the caching used by cgit on the","breadcrumb":{"@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.clearchain.com\/blog\/posts\/cgit-cache-updates#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.clearchain.com\/blog"},{"@type":"ListItem","position":2,"name":"cgit: cache updates"}]},{"@type":"WebSite","@id":"https:\/\/www.clearchain.com\/blog\/#website","url":"https:\/\/www.clearchain.com\/blog\/","name":"ClearChain","description":"-= Daily Happenings =-","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.clearchain.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/aef6faa2c32188398139db9270ca1c98","name":"Benjamin Close","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.clearchain.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/19dca0aa372edfa901b93c556dfda2e78ad4434558fe4d139598e086315d714a?s=96&d=mm&r=pg","caption":"Benjamin Close"},"sameAs":["http:\/\/www.clearchain.com"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":7,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":304,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions\/304"}],"wp:attachment":[{"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.clearchain.com\/blog\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}