You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementing the plan from #10065.
- I'm caching all the redirects by default now, since the final URL will be checked for authz
- Cache tags now are given by the project from the unresolved domain, since we are caching the response on that domain! Previous behavior wasn't correct.
Closes#10065
Copy file name to clipboardExpand all lines: readthedocs/proxito/README.rst
+38-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,43 @@ Module in charge of serving documentation pages.
5
5
6
6
Read the Docs core team members can view the `Proxito design doc <https://github.com/readthedocs/el-proxito/blob/master/docs/design/architecture.rst>`_
7
7
8
+
URL parts
9
+
---------
10
+
11
+
In our code we use the following terms to refer to the different parts of the URL:
12
+
13
+
url:
14
+
The full URL including the protocol, for example ``https://docs.readthedocs.io/en/latest/api/index.html``.
15
+
path:
16
+
The whole path from the URL without query arguments or fragment,
17
+
for example ``/en/latest/api/index.html``.
18
+
domain:
19
+
The domain/subdomain without the protocol, for example ``docs.readthedocs.io``.
20
+
language:
21
+
The language of the documentation, for example ``en``.
22
+
version:
23
+
The version of the documentation, for example ``latest``.
24
+
filename:
25
+
The name of the file being served, for example ``/api/index.html``.
26
+
path prefix:
27
+
The path prefix of the URL without version or language,
28
+
for a normal project this is ``/``, and for subprojects this is ``/projects/<subproject-alias>/``.
29
+
This prefix can be different for project defining their own urlconf.
0 commit comments