Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/architecture.de.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Drei Stellen in der Pipeline sind wichtig, wenn du das Verhalten verstehen wills

| Komponente | Was sie tut |
| ----------------- | ---------------------------------------------------------------------------- |
| Beacon-Script | Vanilla JS, ~10 KB komprimiert. Beobachtet Web Vitals, batcht, postet. |
| Beacon-Script | Vanilla JS, ~20 KB komprimiert. Beobachtet Web Vitals, batcht, postet. |
| EU-Edge | Entfernt IP und User-Agent an der Netzwerkgrenze, leitet das Land aus der IP ab, berechnet den begrenzten `stitch`. Rohe IP und UA erreichen die Anwendung nie. |
| Collector | Öffentlicher Ingest unter `/c/{collector_hash}`. Validation, Rate-Limit, serverseitige Sanitisierung. |
| API | Authentifizierte REST direkt im Root (`/organizations/…`). Versorgt das Dashboard. |
Expand Down
2 changes: 1 addition & 1 deletion content/docs/architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Three spots in the pipeline matter if you want to understand the behavior:

| Component | What it does |
| ----------------- | --------------------------------------------------------------------------- |
| Beacon script | Vanilla JS, ~10 KB compressed. Observes Web Vitals, batches, posts. |
| Beacon script | Vanilla JS, ~20 KB compressed. Observes Web Vitals, batches, posts. |
| EU edge | Strips IP and User-Agent at the network boundary, derives country from the IP, computes the bounded `stitch`. Raw IP and UA never reach the application. |
| Collector | Public ingest at `/c/{collector_hash}`. Validation, rate-limit, server-side sanitization. |
| API | Authenticated REST at the root (`/organizations/…`). Powers the dashboard. |
Expand Down
4 changes: 2 additions & 2 deletions content/docs/concepts/beacon.de.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Du wählst den Build nicht im `<script>`-Tag; der Server löst ihn aus den Site-

Der Beacon ist die Grenze zwischen fastmon und deinem Besucher, und diese Seite beschreibt ihn vollständig. Die Wire-Form erzwingt der Collector serverseitig, unabhängig vom Script selbst.

Das ausgelieferte Script ist minifiziert und obfuskiert, damit Content- und Ad-Blocker es nicht am Namen erkennen.
Das ausgelieferte Script ist minifiziert, aber nicht obfuskiert, damit dein Security-Team lesen kann, was es tut.

## Was der Beacon beobachtet

Expand Down Expand Up @@ -139,7 +139,7 @@ Soft-Navigationen (SPA-Routenwechsel) erzeugen keine nativen Paint- oder Navigat
Das Script wird mit starkem Cache und `ETag` ausgeliefert. Zwei Dinge invalidieren den Cache automatisch:

- **Einstellungs-Wechsel.** Änderst du eine Einstellung, die das ausgelieferte Bundle betrifft (etwa [`collect_sessions`](/de/tracker#collect-sessions)), liefert das eine neue Template-Version aus.
- **Beacon-Upgrade.** Fastmon liefert Beacon-Versionen (`source_version`); ein Wechsel der gepinnten Version rollt den Cache.
- **Beacon-Upgrade.** Ein neues fastmon-Release oder ein Wechsel der gepinnten `source_version` liefert ein neues Bundle aus und rollt den Cache.

Du musst dafür nicht redeployen. Beim nächsten Cache-Check holt der Browser sich die neue Version automatisch.

Expand Down
4 changes: 2 additions & 2 deletions content/docs/concepts/beacon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You don't pick the build in the `<script>` tag; the server resolves it from the

The beacon is the boundary between fastmon and the visitor, and this page documents it in full. The collector enforces the wire shape server-side, independent of the script itself.

The shipped script is minified and obfuscated so content and ad blockers can't match it by name.
The shipped script is minified, not obfuscated, so your security team can read what it does.

## What the beacon observes

Expand Down Expand Up @@ -137,7 +137,7 @@ Soft navigations (SPA route changes) produce no native paint or navigation-timin
The script is served with strong caching and an `ETag`. Two things invalidate the cache automatically:

- **Setting change.** Changing a setting that affects the served bundle (for example [`collect_sessions`](/en/tracker#collect-sessions)) ships a new template version.
- **Beacon upgrade.** Fastmon ships beacon versions (`source_version`); changing a site's pinned version rolls the cache.
- **Beacon upgrade.** A new fastmon release or a change of the pinned `source_version` ships a new bundle and rolls the cache.

You don't need to redeploy your site to take a beacon upgrade. The browser picks up the new version on its next cache check.

Expand Down