https://www.dendron.so/ logo
#questions
Title
# questions
c

ColonelTaint

02/09/2022, 3:35 PM
I've been using dendron along with a few of my team members, and we've got an internal server set up to serve the vault pages using a simple docker setup. We noticed today that when two different people access the same page on the server, there is some state that is shared between users - for example, when user1 scrolls down the page, user2's browser will scroll to the same place. Is this... expected? Is there something I can set to prevent this?
k

kevins8

02/09/2022, 4:13 PM
hmm, are you using vscode or code server to share access?
c

ColonelTaint

02/09/2022, 4:15 PM
The docker container runs
npx dendron buildSite --stage prod --serve
k

kevins8

02/09/2022, 4:20 PM
ah, it looks like your using 11ty which is our legacy publishing. a few questions on your use case to help me come up with an answer: - using
--serve
, you only get a snapshot of what has most recently been updated. do you refresh it periodically to get new changes? - how often do you make changes? - have you tried our new publishing tempalte using nextjs?
c

ColonelTaint

02/09/2022, 4:26 PM
I've just been updating it outside the docker container with git pull and restarting the container manually a few times a day - pretty much just in the getting set up stage.
I haven't tried publishing with nextjs - will take a look at it
k

kevins8

02/09/2022, 4:33 PM
would do that and use the
export
command. you shouldn't have any scroll issues with that setup
c

ColonelTaint

02/09/2022, 4:36 PM
I'll check it out. Thank you
4 Views