Verified Commit f7bfc2d9 authored by Aral Balkan's avatar Aral Balkan
Browse files

Disable content cache (try 2)

parent 31cbabfa
......@@ -132,9 +132,6 @@ class Blockdown
# deployment.
setupCache: =>
@useContentCache = false
# Note: I do not trust the cache for use in production so we detect that and turn it off.
......@@ -149,7 +146,7 @@ class Blockdown
# Check if there are any template changes (if there are, this will require a full rebuild),
# otherwise, we can use the cache and we won’t need to re-render the content.
@useContentCache = true
@useContentCache = false # TODO: FIX
for fileName, lastModifiedDate of themeCachePreviousModifiedTimes
if (fileName.indexOf '/templates/') != -1
# This is a template, check if it has changed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment