How to Speed Up My Site On NodeBB?

Technical Support

Suggested Topics


  • 5 Votes
    6 Posts
    296 Views

    If you are going to store a lot of stuff I would use ./src/cacheCreate to create my own, ./src/cache is for a few stuff that never changes like the list of categories etc. If you put a lot of your own stuff in there like urls for link-previews it will negatively effect the performance. For stuff like that just create your own lru cache.

  • 0 Votes
    15 Posts
    2k Views

    0_1509540816675_6de78b57-97fb-47d2-9d4a-0979e32633fe-image.png

    0_1509540832841_7c972fb0-be3d-461b-b9c7-12cc63770623-image.png

  • 1 Votes
    1 Posts
    1k Views

    I would like to make my NodeBB forum to write a cookie when the

    I found the function that is executed when user is logged in successfully: authenticationController.onSuccessfulLogin.

    How to make this function also to write a cookie?

    I tried to guess, but it did not work:

    req.cookie('loggedin', '1'); res.cookie('loggedin', '1');

    Also I would like this cookie to be removed when the user is not logged in.

    I need this cookie in order to make another layer of caching (for non-logged in users) using Nginx and to test how it will work.

    Is it possible this to be made by a plugin?

  • 0 Votes
    5 Posts
    2k Views

    What does node app --upgrade net you?

  • 0 Votes
    5 Posts
    3k Views

    @Waqass-Khalid

    As of date is it the only option available? shared hosting still not possible?

    Not unless the shared hosting provider gives you some command line access and will let you install nodejs, and run several npm commands. Plus they have to have MongoDB or Redis access for database. 😛 Most shared hosting providers don't have the software necessary for running nodebb, and they won't let you install it.