Michael Dwan
Michael Dwan
Nothing destroys a lighthouse score like 3rd party tracking scripts. It'd be great if we could offload tracking requests from the client to middleware. Google Analytics is the big one...
This cdn and the [load balancer app](https://github.com/superfly/load-balancer) would go great together, let's move it here!
The `staticServer` in [superfly/fly](https://github.com/superfly/fly/blob/master/packages/v8env/src/fly/static.ts) is a handy way to serve a static site without another backend. This package would make a great new home for it.
This PR includes a service name and network of an IP address if available. Private ipv6 addresses grant access to the network an IP was created in, so it's important...
The debug logs are useful for diagnosing issues with the api, builds, remote builders, wireguard, etc. Unfortunately an env variable isn't discoverable so nobody knows about them. We should enable...
- [ ] expose the [ttl](https://github.com/superfly/fly.rs/blob/master/src/cache_store.rs#L21) function from the cache store to javascript - [ ] implement the [ttl function on the sqlite cache store](https://github.com/superfly/fly.rs/blob/master/src/sqlite_cache.rs#L241) - [ ] [redis returns...
We're relying on typescript to verify correct argument types, but we don't have those assertions in prod or with js apps. We should perform best effort type assertions at runtime...
- [ ] Update the fly [responseCache](https://github.com/superfly/fly.rs/blob/master/v8env/src/fly/cache/response.ts) to support the [Cache API](https://developer.mozilla.org/en-US/docs/Web/API/Cache). - [ ] Move the [old response cache](https://github.com/superfly/fly.rs/blob/master/v8env/src/cache.ts) to the [rustproxy shim](https://github.com/superfly/fly/tree/master/packages/rustproxy-shim)
https://github.com/superfly/fly/commit/986cefc
This causes an `unhandled promise rejection error` in fly.rs but is considered valid in other engines and [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Description): ```js const handler = Promise.reject(); handler.then(console.log).catch(console.error); ```