Arūnas Smaliukas
Jul 25, 2017 · 1 min read

Hey, thanks for your amazing article! It was the first article to make me understand something!

However I’m thinking about your http://themillionetherhomepage.com project and its implementation.

“writes” to blockchain are made by users who buy pixels (gas paid by users — no worry for you).

But “reads” as I understand are made by your backend. What if I will refresh your webpage 1 million times? Will your backend read from blockchain 1 million times? And will you pay gas for it? (Reads also require some gas?) My guess is that you cache “reads” in your backend so save money. Then my question is how do you know when to purge a cache? Can Smart Contract send message to your backend like “Hey, there was some writes to blockchain — purge your cache?”.

Sorry for noob questions, I’m still trying to get clue about these things. And thanks again!

    Arūnas Smaliukas

    Written by