Skip to content

Put Replicache into offline mode? #992

Answered by arv
tslocke asked this question in Q&A
May 3, 2022 · 5 comments · 2 replies
Discussion options

You must be logged in to vote
  • Set pullURL and pushURL to ''. These are read/write so clearing them prevents next push/pul.
  • We set pushDelay to a large number in our tests. This prevents the automatic push after a mutation.
  • pullInterval is already pretty high (60s) but you can increase this too.
  • Other options includes implementing a custom puller/pusher.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by tslocke
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tslocke
Comment options

@arv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants