Comments (2)
You could set up a CI (GitHub Actions?) which generates random text for each pushed commit instead (or on a set interval), pins that text somewhere, and deploys a version of the website which checks for that hash. It wouldn't be randomized per page load, but often enough that you couldn't trivially bypass the check.
If you did this on the browser side not only would you need js-ipfs, but the measurement time would be measuring the time it takes for a gateway to fetch content from the js-ipfs client, rather than the response time of content they already have cached. I can see how that'd be useful to someone, but it's still probably less useful for most people looking for public gateways.
With this setup you could also do other neat things like automatically pin/publish the site on IPFS to tackle some #93 problems.
from public-gateway-checker.
I think this would make a great second test. I don't think we should replace our existing static CID tests, but we should add an additional test using the methods proposed by @jonaharagon
from public-gateway-checker.
Related Issues (20)
- ipfs about activation? HOT 3
- public-gateway-checker specific metrics
- feat: finalize metrics modal and icon HOT 19
- Move cookie prompt to the bottom HOT 4
- Increase contrast of links
- switch to officially hosted domain name (subdomain of ipfs.tech)
- feat: Handle special resolvers in CI HOT 2
- feat: finalize metrics implementation
- Warning about ipfs.joaoleitao.org in gateway checker. HOT 3
- feat: automate removal of domains called out as dangerous HOT 4
- *.ipfs2.eth.limo public gateway HOT 3
- Gateway checker blocked on ipns.co domains HOT 4
- feat: generates parts of the dashboard async, using ipfs/gateway-conformance HOT 7
- Generate metadata (country) on the server side
- Add opt-in "online" + latency check on the client side
- Remove konubinix.eu from https://ipfs.github.io/public-gateway-checker/ HOT 3
- Remove cthd.icu HOT 2
- CI misconfiguration are preventing releases or updates to the list of gateways used by the frontend. HOT 4
- [Feature request] Check for availability of specific content HOT 1
- w3s.link path gateway does redirect to subdomain gateway
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from public-gateway-checker.