I have a problem with Vapor template “Leaf”. it rendered html from the wrong leaf file.
such as Acronym.leaf is not called when I requested XXX Sex - Free Porn Videos at XXX.com.
But it rendered html from index.leaf instead.
Then ,I tried to stop running the project and restart my project again on the server.
This time when request XXX Sex - Free Porn Videos at XXX.com, it work properly. Acronym.leaf is rendered.
But when I requested https://xxx.com,it not rendered html from index.leaf, but Acronym.leaf instead.
Yes you should, since that’s the environment you’re in and things may be relying on it. Hopefully the fix is released soon, otherwise you could create a custom LeafConfig like the Leaf provider does and register that to disable caching. That will also fix the issue until the bug is fixed