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.
| ID | Label | Description |
|---|---|---|
| 0 | PF programs | P Foundation's own programs. |
| 1 | Web & static | Websites, images, JS/CSS and fonts. |
| 2 | Live video | 24/7 channels and live news. |
| 3 | Video on demand | Standard video catalogues. |
| 4 | Downloads | Updates, patches and installers, and ISP DNS-override (lancache) traffic. |
| 5 | Dedicated | A single strategic customer on addresses of its own. |
| 6 | News & sensitive | Content prone to state blocking. |
| 7 | Gambling | Content commonly blocked by regulators. |
| 8 | Adult (18+) | 18+ content. |
| 9 | Premium video | Paid video catalogues, treated better than class 3. |
| 10 | Priority | SLA-critical traffic of any type. |
| 11 | Live sports & events | Matches, pay-per-view and big events. |
| 12 | Isolated | A resource under attack, moved here temporarily. |
| 13 | Pending review | Resources 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
- OpenCache Embedded — the program and the appliance console
- OpenCache — architecture overview
