From 9d3a04998845fac8f6bdf98962078b1c4ba780cd Mon Sep 17 00:00:00 2001 From: Reynaldi Chernando <12949382+reynaldichernando@users.noreply.github.com> Date: Fri, 13 Nov 2026 19:13:59 +0700 Subject: [PATCH] document puter.host behavior (#4606) * document puter.host behavior * update --- src/docs/src/Hosting/create.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/docs/src/Hosting/create.md b/src/docs/src/Hosting/create.md index 8768cdfe0..9b9bfa525 100755 --- a/src/docs/src/Hosting/create.md +++ b/src/docs/src/Hosting/create.md @@ -44,6 +44,19 @@ A `Promise` that will resolve to a [`Subdomain`](/Objects/subdomain/) object whe If a subdomain with the given name already exists, the promise will be rejected with an error. If the path does not exist, the promise will be rejected with an error. +## Cached and uncached URLs + +Each site you create is available at two URLs, `.puter.site` and `.puter.host`. + +By default, use `.puter.site`. It's served through a CDN and cached, so it loads fast. Changes to your site's files take a few seconds to show up there. + +Use `.puter.host` only in the rare case where you need your files exactly as they are right now and can't wait those few seconds. It isn't served through a CDN or cached, so requests to it can be slower and you're charged more for egress. If you aren't sure which one you need, use `puter.site`. + +``` +.puter.site // cached, use this by default +.puter.host // uncached, only for rare cases +``` + ## Examples ### Create a simple website displaying "Hello world!"