[bisq-network/proposals] Decentralize BSQ block explorer as we do with other Bisq infrastructure (#143)

wiz notifications at github.com
Sun Dec 15 12:22:28 UTC 2019


Yeah, I'll send you a PR soon. The most obvious problem seems to be this weird "delete all the data and re-copy all the data" every time there is any update, as part of the update_data.sh script - I don't see any reason to do this at all, I can simply modify the nginx.conf to serve the JSON files directly from the Bisq seednode's data folder, and there is no reason to copy the data at all. 

The second problem which is less obvious, is that nginx serves the site with HTTP headers so the cache time gets set quite high, so if your browser requests a JSON file and it isn't there (very likely because of the first issue) then your browser will cache it as non-existing and not retry to fetch it again later, even if you restart your browser.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/proposals/issues/143#issuecomment-565804767
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191215/e64795c7/attachment.html>


More information about the bisq-github mailing list