<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/banzai/renderer.rb, branch 22964-git-commit-documentation-article</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Make banzai module that handles markdown singleton</title>
<updated>2016-07-19T13:12:15+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2016-07-19T13:05:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f281041fea2884ea666d7de701c8e824078b86cc'/>
<id>f281041fea2884ea666d7de701c8e824078b86cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ObjectRenderer doesn't crash when no objects to cache with Rails.cache.read_multi</title>
<updated>2016-07-13T09:19:21+00:00</updated>
<author>
<name>Paco Guzman</name>
<email>pacoguzmanp@gmail.com</email>
</author>
<published>2016-07-13T07:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cc752f241ccef3b13486544f03ae716de00cc363'/>
<id>cc752f241ccef3b13486544f03ae716de00cc363</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Object renderer read_multi rendered entries from Cache</title>
<updated>2016-07-12T12:35:29+00:00</updated>
<author>
<name>Paco Guzman</name>
<email>pacoguzmanp@gmail.com</email>
</author>
<published>2016-07-05T15:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3d2c540db6bb33f1a7be6c1ba375d4f604544862'/>
<id>3d2c540db6bb33f1a7be6c1ba375d4f604544862</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move pre_process into render_result</title>
<updated>2016-06-21T15:39:01+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-06-21T15:07:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d9a4ca5975b4fb91b147930d863f0bb4b9619a64'/>
<id>d9a4ca5975b4fb91b147930d863f0bb4b9619a64</id>
<content type='text'>
The method Banzai::Renderer.pre_process would always be called,
regardless of whether the Markdown to render was already cached or not.
In cache the document _was_ cached the output of the pre-processing
pipeline was ignored resulting in it doing nothing but wasting CPU
cycles.

This commit moves Banzai::Renderer.pre_process into
Banzai::Renderer.render_result so that it's _only_ used when needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The method Banzai::Renderer.pre_process would always be called,
regardless of whether the Markdown to render was already cached or not.
In cache the document _was_ cached the output of the pre-processing
pipeline was ignored resulting in it doing nothing but wasting CPU
cycles.

This commit moves Banzai::Renderer.pre_process into
Banzai::Renderer.render_result so that it's _only_ used when needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Instrument Banzai code</title>
<updated>2016-04-11T15:43:12+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-04-11T15:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=935f913165b91467a70d9ba2b0ea29fad467db9d'/>
<id>935f913165b91467a70d9ba2b0ea29fad467db9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a PreProcessPipeline</title>
<updated>2016-03-03T03:19:36+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>rspeicher@gmail.com</email>
</author>
<published>2016-02-22T00:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=74751791a8bf27c5576832f73a57a5b110b423ad'/>
<id>74751791a8bf27c5576832f73a57a5b110b423ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Temporarily disable Markdown caching"</title>
<updated>2016-01-06T12:26:02+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2016-01-06T12:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cf19efec3ac0ab4510359dd71df3d511762230c3'/>
<id>cf19efec3ac0ab4510359dd71df3d511762230c3</id>
<content type='text'>
This reverts commit d337d5e7137d9b3fd0f9b8890a3ba9296323acc7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d337d5e7137d9b3fd0f9b8890a3ba9296323acc7.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue."</title>
<updated>2016-01-06T12:25:13+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2016-01-06T12:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b9ed3961b55cf3dbc1a6d4c841d295dd23161c90'/>
<id>b9ed3961b55cf3dbc1a6d4c841d295dd23161c90</id>
<content type='text'>
This reverts commit 4b027bc93a7875c3937f6b90ac1049b4a4d72da5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4b027bc93a7875c3937f6b90ac1049b4a4d72da5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue.</title>
<updated>2016-01-04T13:30:30+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2016-01-04T13:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4b027bc93a7875c3937f6b90ac1049b4a4d72da5'/>
<id>4b027bc93a7875c3937f6b90ac1049b4a4d72da5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Temporarily disable Markdown caching</title>
<updated>2015-12-16T17:50:06+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2015-12-16T17:50:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d337d5e7137d9b3fd0f9b8890a3ba9296323acc7'/>
<id>d337d5e7137d9b3fd0f9b8890a3ba9296323acc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
