• Zach Pomerantz's avatar
    feat: service worker with etag cache (#3897) · c16e49e7
    Zach Pomerantz authored
    * fix: always-fresh service worker cache
    
    * chore: clarify service-worker
    
    * fix: cache in CacheStorage
    
    * feat: set __isDocumentCached
    
    * add back in manifest precaching
    
    * add unit tests (incomplete)
    
    * test: simplify test env
    
    * test: add service-worker cypress test
    
    * test: service-worker document handler
    
    * fix: CachedDocument ctor
    
    * fix: Readable for ReadableStream in jest
    
    * build: clean up module loading
    
    * fix: rename commands->ethereum
    
    * build: simplify package.json deps
    
    * build: clean up cypress usage
    
    * build: clean up yarn.lock
    
    * build: record cypress runs
    
    * build: disable chromeWebSecurity in cypress tests
    
    * build: rm babel
    
    * build: disable sw in ci cypress
    
    * build: nits
    
    * build: update workbox version
    
    * chore: fix merge
    
    * test: cache
    
    * test: cypress-ify the before hook
    
    * test: clear sw before each test
    
    * fix: cy then
    
    * test: cypress shenanigans
    
    * style: lint
    
    * chore: rm todo
    
    * test: fail fast for service worker with dev builds
    
    * docs: update contributing to tests
    
    * fix: clean up tests after merge
    
    - Add fast fail in case of dev server, which lacks ServiceWorker
    
    * fix: inject ethereum
    
    * test: service worker
    
    * test: increase sw timeout
    
    * test: sw state
    
    * test: run cypress in chrome
    
    * feat: add on-demand caching to improve sw startup time
    
    * test: test dynamically
    
    * fix: simplify cached doc
    
    * fix: optional sw
    
    * fix: expose response on cached doc
    
    * fix: stub out sw req
    
    * fix: intercept
    Co-authored-by: default avatarChristine Legge <christine.legge@uniswap.org>
    c16e49e7
Name
Last commit
Last update
.github Loading commit data...
cypress Loading commit data...
public Loading commit data...
src Loading commit data...
.env Loading commit data...
.env.production Loading commit data...
.eslintrc.json Loading commit data...
.gitignore Loading commit data...
.nvmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
babel-plugin-macros.config.js Loading commit data...
codegen.yml Loading commit data...
cypress.config.ts Loading commit data...
lingui.config.ts Loading commit data...
package.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...