https://kotlinlang.org logo
#ktor
Title
# ktor
c

cptneko

07/25/2021, 8:31 PM
Hello everyone. I'm trying to develop my app using Freemarker templates. They cache the template file and edits aren't showing up so I googled and found cacheStorage = NullCacheStorage() should help. It still caches after setting it so not good. Then I looked at the docs found that I should be able to set templateUpdateDelayMilliseconds to 0 to disable caching. Also doesn't work. What do I need to do to disable template caching?
1
Found it. Use a FileTemplateLoader instead of the default one.
12 Views