Resource classes

Every edge resource has a resource class: a number that groups it with content of the same kind. The console shows it as Content class on the resource's Overview tab.

The class decides which OpenCache addresses serve the resource. A PoP has several public addresses, each carrying one or more classes, and DNS sends a resource's visitors to the addresses of its class. When one address is blocked by a network or targeted by an attack, only the resources of that class are affected.


Classes

The label is the name shown on the resource's Content class card.

IDLabelDescription
0PF programsP Foundation's own programs.
1Web & staticWebsites, images, JS/CSS and fonts.
2Live video24/7 channels and live news.
3Video on demandStandard video catalogues.
4DownloadsUpdates, patches and installers, and ISP DNS-override (lancache) traffic.
5DedicatedA single strategic customer on addresses of its own.
6News & sensitiveContent prone to state blocking.
7GamblingContent commonly blocked by regulators.
8Adult (18+)18+ content.
9Premium videoPaid video catalogues, treated better than class 3.
10PrioritySLA-critical traffic of any type.
11Live sports & eventsMatches, pay-per-view and big events.
12IsolatedA resource under attack, moved here temporarily.
13Pending reviewResources awaiting review, and resources on hold.

Notes

  • Who sets the class. P Foundation support assigns it; you can't change it yourself. Contact support if a resource is in the wrong class.
  • New resources. A resource without a class of its own is in class 13 (Pending review) until support reviews it.
  • Changing class. About 2 minutes after a change, DNS starts sending visitors to the new class's addresses. The old addresses keep serving the resource for 15 minutes after the change, so visitors holding an older DNS answer are still served.
  • Shared addresses. Classes 1 to 4 can share addresses with each other, and classes 9 and 10 with each other. Every other class is served from addresses of its own.
  • Class 0 is reserved for P Foundation's own projects.
  • Reserved IDs. 14 to 19 are kept for future shared classes, and 20 to 99 for dedicated classes of individual customers.
  • Labels can change. A class may be renamed; the Content class card always shows the current name.

Further reading