Skip to content

Commit 13dda89

Browse files
authored
Add paragraph about static part of dynamic pages (#45)
1 parent f5836f3 commit 13dda89

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ flowchart LR
4949
static["/static"]
5050
end
5151
52-
Browser-->root
53-
Browser-->admin_proxy
52+
Browser--Static web page-->root
53+
Browser--Dynamic web page-->admin_proxy
5454
Browser-.->api_proxy
5555
Browser-.->static
5656
@@ -82,10 +82,16 @@ The word static in static web page means that the files served to the browser ar
8282

8383
To summarize, the initial page load will be the same for all users, but the page might use client side logic and API calls to add interaction and to personalize the content visible to the user.
8484

85+
<!-- TODO: paragraph about the Svelte app and e.g. client side routing -->
86+
8587
#### Dynamic web pages
8688

8789
Dynamic web pages, on the other hand, are created dynamically by the web server varying on, for example, the user making requesting the page or the status of the server. Thus, the content returned to the browser when loading the page will already be personalized on the server side.
8890

91+
<!-- TODO: paragraph about the Django admin panel -->
92+
93+
Dynamic web pages often also utilize static content, such as stylesheets and images, to make the page load more efficient. The static content is usually served to the end-user by a static file server instead of the application server. In this application, the static filed required by the admin panel are copied to the nginx server during the Docker build process and served to the end-user from under `/static` path of the server.
94+
8995
### Application tier
9096

9197
<!-- TODO: Intro to application tier -->

0 commit comments

Comments
 (0)