Very long page loading time when refreshing and I am logged in by any user and quick loading when I am logged out
-
Have you tried disabling various plugins?
-
@pitaj The problem appeared after I installed nodebb-write-api plugin and post several tens of thousands topics, the more topics I posted the longer time for refreshing the page with logged in user
So I do not think other plugins rather then nodebb-write-api impact this issue
-
@evg-r okay well try disabling various plugins anyways. You don't need to keep write API active after you're finished using it to create the posts.
If disabling plugins doesn't work, then I think you should try upgrading to the latest version of NodeBB, 1.18.6
-
I'd bet it just took some time for the indices to rebuild.
-
@pitaj I've just checked the indexes in db, and find out that nodebb db size is 0. So I forgot that I store all the data for nodebb forum in the different one db, and that db already had the indexes. So no changes were made to the db with nodebb forum
The reason of long load page time is still mystery but its related somehow to write-api plugin.
I need to use this plugin to post more topics but I need to fix something to avoid such bad situation with long load page time -
@evg-r I doubt it's anything to do with the write API plugin. If you want to avoid it though, you can use the built in write API in newer versions of NodeBB.
I suggest:
- Use the latest version of NodeBB (1.18.6)
- Use the built in write API
- Post your topics, then wait a while for the database indices to build in the background
-