dashboard / erock/docs / docs: global docs #42 rss

accepted · opened on 2025-01-13T01:24:09Z by erock
Help
checkout latest patchset:
ssh pr.pico.sh print pr-42 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print ps-X | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 42
add review to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add --review 42
accept PR:
ssh pr.pico.sh pr accept 42
close PR:
ssh pr.pico.sh pr close 42

Logs

erock created pr with ps-89 on 2025-01-13T01:24:09Z
erock added ps-90 on 2025-01-13T01:25:24Z
erock added ps-97 on 2025-01-24T14:31:45Z
erock added ps-98 on 2025-01-24T14:32:16Z
erock changed status on 2025-02-01T18:43:43Z {"status":"accepted"}

Patchsets

ps-89 by erock on 2025-01-13T01:24:09Z
Range Diff ↕ rd-90
1: d1a7089 ! 1: 786b48a docs: global docs
ps-90 by erock on 2025-01-13T01:25:24Z
Range Diff ↕ rd-97
1: 786b48a ! 1: 1e37996 docs: global docs
-: ------- > 2: 4a7df87 changes
-: ------- > 3: a2f41f6 changes
ps-97 by erock on 2025-01-24T14:31:45Z
Range Diff ↕ rd-98
1: 1e37996 < -: ------- docs: global docs
3: a2f41f6 ! 1: 4b2c45c docs: global docs
2: 4a7df87 < -: ------- changes
ps-98 by erock on 2025-01-24T14:32:16Z

Patchset ps-89

docs: global docs

Eric Bower
2025-01-13T01:23:45Z
main.go
+5 -0
posts/pgs.md
+12 -6
posts/tuns.md
+13 -0
Back to top

docs: global docs

main.go link
+5 -0
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
diff --git a/main.go b/main.go
index 2065890..17c48dc 100644
--- a/main.go
+++ b/main.go
@@ -149,6 +149,11 @@ func main() {
 						Href: "/faq",
 						Page: pager("faq.md"),
 					},
+					{
+						Text: "Regions",
+						Href: "/regions",
+						Page: pager("regions.md"),
+					},
 					{
 						Text: "IRC",
 						Href: "/irc",
posts/pgs.md link
+12 -6
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/posts/pgs.md b/posts/pgs.md
index e20446c..44670fe 100644
--- a/posts/pgs.md
+++ b/posts/pgs.md
@@ -492,17 +492,23 @@ Then open your browser to http://localhost:1337
 
 # Caching
 
-To improve the page speed, pgs sites are cached for 10 minutes by default. This is controlled by the [`Cache-Control: max-age=600` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) which you can [override with a `_headers` file](#headers).
+To improve the page speed, pgs sites are cached for 10 minutes by default. This
+is controlled by the
+[`Cache-Control: max-age=600` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control)
+which you can [override with a `_headers` file](#headers).
 
-There are two levels of caching: server-side and client-side. The server-side cache is automatically cleared every time you upload files, but client-side caches only expire when `max-age` seconds pass, or if you force-reload or clear your browser cache manually.
+There are two levels of caching: server-side and client-side. The server-side
+cache is automatically cleared every time you upload files, but client-side
+caches only expire when `max-age` seconds pass, or if you force-reload or clear
+your browser cache manually.
 
-In case of issues, you can manually clear the server-side cache with `ssh pgs.sh cache project-name`.
+In case of issues, you can manually clear the server-side cache with
+`ssh pgs.sh cache project-name`.
 
 # Does pages have a CDN or multi-region support?
 
-At this point in time, we are able to serve content from a single VM. If this
-service gains traction we will commit to having a CDN with multiple regions in
-the US and EU.
+Yes, we run pages in multiple regions, internationally. See our
+[regions page](/regions) to learn more.
 
 # Removing a project
 
posts/regions.md link
+22 -0
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/posts/regions.md b/posts/regions.md
new file mode 100644
index 0000000..30afc40
--- /dev/null
+++ b/posts/regions.md
@@ -0,0 +1,22 @@
+---
+title: Regions
+description: Where are our services located?
+keywords: [pico, services, pgs, tuns]
+toc: 1
+---
+
+- Ashburn, Virginia ([oci](https://cloud.oracle.com))
+- Amsterdam, Netherlands ([netcup](https://www.netcup.com))
+
+# Service Locations
+
+- pgs.sh (us, eu)
+- tuns.sh (us)
+- eu.tuns.sh (eu)
+- pipe.pico.sh (us)
+- prose.sh (us)
+- pastes.sh (us)
+- rss-to-emal (us)
+
+As demand for our services increases we will increase our service location
+coverage.
posts/tuns.md link
+13 -0
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/posts/tuns.md b/posts/tuns.md
index 7afc569..b73e198 100644
--- a/posts/tuns.md
+++ b/posts/tuns.md
@@ -57,6 +57,19 @@ ssh -R dev:80:localhost:8000 tuns.sh
 # now anyone can access it at https://{user}-dev.tuns.sh
 ```
 
+# Regions
+
+We do **not** have geographical-based routing for tuns.sh.
+
+However, we do provide a way for users to pick a server location. With that we
+have a couple options:
+
+- tuns.sh (us, virginia)
+- eu.tuns.sh (eu, amsterdam)
+
+As usage and demand increases we will add more regions. See [regions](/regions)
+for our official list.
+
 # User namespace
 
 When creating a tunnel to `tuns` we always prefix the name with your username: