Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subrequest cache #133

Merged
merged 24 commits into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6ad2faf
Add cache to loader context
frandiox Oct 26, 2022
f92b78f
Add buyer IP
frandiox Oct 26, 2022
7fc1d47
Add cache strategies and fetchWithServerCache wrapper
frandiox Oct 26, 2022
a897419
Allow overwriting headers
frandiox Oct 26, 2022
8515682
Add Request ID to SFAPI errors
frandiox Oct 26, 2022
892c91e
Pass handleRequest options to getLoadContext like in other implementa…
frandiox Oct 27, 2022
3394083
Initial sub-request cache
frandiox Oct 27, 2022
d5bf5fb
Add debug logs for Oxygen
frandiox Oct 27, 2022
71c464c
Fix cache return values and serialization
frandiox Oct 27, 2022
647613b
Fix JSON parse and waitUntil invocation
frandiox Oct 28, 2022
4da331b
Replace mini-oxygen cache with InMemoryCache temporarily
frandiox Oct 28, 2022
f467c09
Fix InMemoryCache
frandiox Oct 28, 2022
0c667c5
Remove debug logs
frandiox Oct 28, 2022
0cdd454
Expose fetchWithServerCache and cache strategies
frandiox Oct 28, 2022
fca7faa
Fix error parser
frandiox Oct 28, 2022
4216c07
Support mutation property
frandiox Oct 28, 2022
5814067
Minify queries sent over network
frandiox Oct 28, 2022
ebf5149
Fix query minification
frandiox Oct 28, 2022
13d350f
Update mini-oxygen to 1.0 to fix cache
frandiox Oct 28, 2022
2881b0a
Disable cache debug log
frandiox Oct 28, 2022
7ebac30
Merge branch 'main' into fd-subrequest-cache
frandiox Oct 28, 2022
f166ec3
Merge branch 'main' into fd-subrequest-cache
frandiox Oct 31, 2022
27ad1ee
Merge branch 'main' into fd-subrequest-cache
frandiox Nov 9, 2022
162e2d4
Remove fetchWithServerCache export and move injected fetch directly u…
frandiox Nov 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mini-oxygen.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"publicPath": "",
"buildCommand": "npm run bundle:worker && npm run copy:assets",
"watch": true,
"buildWatchPaths": ["./build/server/index.js", "./worker/index.ts"],
"buildWatchPaths": [
"./build/server/index.js",
"./worker/index.ts",
"./packages"
],
"autoReload": true,
"modules": true,
"env": {
Expand Down
Loading