summaryrefslogtreecommitdiff
path: root/lib/banzai/renderer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make banzai module that handles markdown singletonGrzegorz Bizon2016-07-191-7/+9
|
* ObjectRenderer doesn't crash when no objects to cache with ↵Paco Guzman2016-07-131-4/+10
| | | | Rails.cache.read_multi
* Object renderer read_multi rendered entries from Cacheread-multi-rendered-objectsPaco Guzman2016-07-121-1/+55
|
* Move pre_process into render_resultremove-banzai-pre-processYorick Peterse2016-06-211-6/+2
| | | | | | | | | | | 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.
* Instrument Banzai codeYorick Peterse2016-04-111-8/+12
|
* Add a PreProcessPipelineRobert Speicher2016-03-021-0/+6
|
* Revert "Temporarily disable Markdown caching"Douwe Maan2016-01-061-3/+1
| | | | This reverts commit d337d5e7137d9b3fd0f9b8890a3ba9296323acc7.
* Revert "Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue."Douwe Maan2016-01-061-14/+7
| | | | This reverts commit 4b027bc93a7875c3937f6b90ac1049b4a4d72da5.
* Add DEBUG_BANZAI_CACHE env var to debug Banzai cache issue.debug-banzai-cacheDouwe Maan2016-01-041-7/+14
|
* Temporarily disable Markdown cachingDouwe Maan2015-12-161-1/+3
|
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-151-0/+76