• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Clear template cache ?

Scheduled Pinned Locked Moved General Discussion
cache
5 Posts 3 Posters 3.0k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ffmadF Offline
    ffmadF Offline
    ffmad
    wrote on last edited by ffmad
    #1

    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

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #2

    hey good job so far on your theme 👍 looking good!

    I've added an issue for this https://github.com/NodeBB/NodeBB/issues/1844

    ffmadF 1 Reply Last reply
    0
  • ffmadF Offline
    ffmadF Offline
    ffmad
    replied to psychobunny on last edited by
    #3

    @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 ^^'

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #4

    This problem has not been solved?

    I still have to constantly clean the cache.
    Maybe something I do not understand?

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #5

    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.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development