talizen 0.2.17 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,8 +170,11 @@ export async function getServerSideProps(ctx: TalizenServerSideContext) {
|
|
|
170
170
|
```
|
|
171
171
|
|
|
172
172
|
Server-side context supports `ctx.request` and `ctx.cookies`. It intentionally
|
|
173
|
-
does not expose `ctx.auth`, `ctx.db`, `ctx.cache`, or `ctx.func
|
|
174
|
-
|
|
173
|
+
does not expose `ctx.auth`, `ctx.db`, `ctx.cache`, or `ctx.func`. This keeps
|
|
174
|
+
HTML render caching predictable: cookie reads can use cookie-vary, cookie
|
|
175
|
+
writes are no-store, and user-specific auth/Func reads do not become hidden SSR
|
|
176
|
+
cache dependencies. Put login UI, private business data access, writes, and
|
|
177
|
+
custom backend actions in browser-side SDK/Func/API flows.
|
|
175
178
|
|
|
176
179
|
### Write function runtime code
|
|
177
180
|
|