Skip to content

Commit

Permalink
vault backup: 2024-06-09 17:59:47
Browse files Browse the repository at this point in the history
Affected files:
content/.obsidian/plugins/recent-files-obsidian/data.json
content/.obsidian/workspace.json
content/docker/Docker.md
content/react/next-cache/Full Route Cache.md
content/react/next-cache/Router Cache.md
  • Loading branch information
windsuzu committed Jun 9, 2024
1 parent 71905c1 commit 69ceb19
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 16 deletions.
14 changes: 7 additions & 7 deletions content/.obsidian/plugins/recent-files-obsidian/data.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"recentFiles": [
{
"basename": "React MOC",
"path": "mocs/React MOC.md"
"basename": "Docker",
"path": "docker/Docker.md"
},
{
"basename": "Full Route Cache",
"path": "mocs/Full Route Cache.md"
"path": "react/next-cache/Full Route Cache.md"
},
{
"basename": "React MOC",
"path": "mocs/React MOC.md"
},
{
"basename": "Router Cache",
Expand Down Expand Up @@ -195,10 +199,6 @@
{
"basename": "PostgreSQL Table",
"path": "postgresql/PostgreSQL Table.md"
},
{
"basename": "Install PostgreSQL on WSL 2 (Ubuntu)",
"path": "postgresql/Install PostgreSQL on WSL 2 (Ubuntu).md"
}
],
"omittedPaths": [],
Expand Down
24 changes: 18 additions & 6 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
"id": "94dafe9c731fce38",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
"type": "markdown",
"state": {
"file": "docker/Docker.md",
"mode": "source",
"source": false
}
}
}
]
Expand Down Expand Up @@ -98,6 +102,7 @@
"state": {
"type": "localgraph",
"state": {
"file": "docker/Docker.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -146,7 +151,9 @@
"type": "leaf",
"state": {
"type": "outline",
"state": {}
"state": {
"file": "docker/Docker.md"
}
}
},
{
Expand Down Expand Up @@ -185,7 +192,9 @@
"type": "leaf",
"state": {
"type": "file-properties",
"state": {}
"state": {
"file": "docker/Docker.md"
}
}
}
]
Expand All @@ -201,6 +210,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "docker/Docker.md",
"linksCollapsed": false,
"unlinkedCollapsed": false
}
Expand All @@ -219,6 +229,7 @@
"state": {
"type": "backlink",
"state": {
"file": "docker/Docker.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand Down Expand Up @@ -250,8 +261,10 @@
},
"active": "94dafe9c731fce38",
"lastOpenFiles": [
"react/next-cache/Full Route Cache.md",
"docker/Docker.md",
"docker",
"mocs/React MOC.md",
"mocs/Full Route Cache.md",
"react/next-cache/Router Cache.md",
"react/next-cache/Request Memoization.md",
"react/next-cache/Data Cache.md",
Expand All @@ -270,7 +283,6 @@
"web-dev",
"browser-event/Event Delegation (event.target).md",
"react/server-action",
"Untitled",
"browser-event/Event Capturing and Bubbling.md",
"browser-event",
"index.md",
Expand Down
11 changes: 11 additions & 0 deletions content/docker/Docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
draft: false
date: 2024-06-09 17:29
tags:
- docker
---



> [!info] References
> -
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
draft: false
date: 2024-06-04 00:19
date: 2024-06-09 17:29
tags:
- react
- nextjs
Expand Down
4 changes: 2 additions & 2 deletions content/react/next-cache/Router Cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ tags:
![[router-cache.png]]
> Source: [Finally Master Next.js's Most Complex Feature - Caching (webdevsimplified.com)](https://blog.webdevsimplified.com/2024-01/next-js-app-router-cache/)
Before we learn about the router cache, we should know that the [[full route cache]] stores both HTML and RSCP persistently on the server over multiple user requests.
Before we learn about the router cache, we should know that the [[Full Route Cache]] stores both HTML and RSCP persistently on the server over multiple user requests.

The router cache, on the other hand, ==only caches RSCP in the client browser for the duration of a user session==. Furthermore, while the [[full route cache]] caches only statically rendered routes, ==the router cache caches both statically and dynamically rendered routes.==
The router cache, on the other hand, ==only caches RSCP in the client browser for the duration of a user session==. Furthermore, while the [[Full Route Cache]] caches only statically rendered routes, ==the router cache caches both statically and dynamically rendered routes.==

The duration of the stored cache depends on the route type:

Expand Down

0 comments on commit 69ceb19

Please sign in to comment.