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.
Files changed (2) hide show
  1. package/README.md +5 -2
  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`; put login UI,
174
- private business data access, and writes in browser-side SDK/Func/API flows.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "talizen",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "Talizen frontend SDK types for cms, form and core.",
5
5
  "type": "module",
6
6
  "license": "MIT",