We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646b3d2 commit a05c1b8Copy full SHA for a05c1b8
README.md
@@ -0,0 +1,17 @@
1
+### Demo
2
+
3
+demo for integration nginx http2 server push feature with django
4
5
+### How to use
6
7
+> docker-compose up
8
9
+### NGINX Solution
10
11
+1. nginx v1.13.9 support server push (see https://www.nginx.com/blog/nginx-1-13-9-http2-server-push/)
12
+2. enable server push in upstream (see dockerfile/nginx/conf/default.conf)
13
14
+### Django Solution
15
16
+1. mark resource which need to be server push in template (see applications/demo/templates/index.html)
17
+1. add link header through middleware (see applications/demo/middlewares.py)
0 commit comments