Clear template cache ?
-
hi !
I am doing a lot of changes on my nodebb forum http://www.cryptofr.com where I modify a custom theme module.
(For example, i've changed the way the home page is shown)
Starting/stoping nodebb isn't enough so i have to tell my users to clear cache manually (not good)
My question is: how can you clear the template cache ?
i've used some CMS like EzPublish where you could do that, but i didn't find a way for NodeBB
-
hey good job so far on your theme looking good!
I've added an issue for this https://github.com/NodeBB/NodeBB/issues/1844
-
@psychobunny i've added a comment on github
thank you for the theme ^^
i will have to do a lot more because members are always asking new things ^^'
-
This problem has not been solved?
I still have to constantly clean the cache.
Maybe something I do not understand? -
Okay, I found the solution:
-
removed line - npm i nodebb-theme-vanilla nodebb-theme-lavender nodebb-widget-essentials
(www/nodebb).
Now the templates are not updated. (I have changed theme and it would be cancel changes.) -
I perform the command ./nodebb upgrade
-
I perform the command ./nodebb restart
Now all the people will be taken new changes.
-