Is there a way to mannally refresh the view cache? #4549
Answered
by
dougwilson
songquanpeng
asked this question in
Q&A
-
I am designing a blog that supports theme switching without restarting the server, but the view cache is a problem. And I don't want to disable it. |
Beta Was this translation helpful? Give feedback.
Answered by
dougwilson
Mar 19, 2021
Replies: 1 comment 3 replies
-
Hello! There may be different types of cache involved here. Express itself just caches the view name to actual file path mapping. Is that the cache you need to clear? Express itself does not read the contents of the file or cache them. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
songquanpeng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! There may be different types of cache involved here. Express itself just caches the view name to actual file path mapping. Is that the cache you need to clear? Express itself does not read the contents of the file or cache them.