> This is part 1 of 4 of the full documentation (pages 1–100 of 344).
> The content is paginated: fetch every part to see all of it.
> Next part: https://docs.transparentedge.eu/llms-full.txt/1
> Page index: https://docs.transparentedge.eu/llms.txt

> Agents can also search and read this documentation through its [MCP server](https://docs.transparentedge.eu/~gitbook/mcp).

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.transparentedge.eu/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

---

# Welcome

Main page

Here you’ll find all the documentation about using—and enjoying!—Transparent Edge. If you already know what you’re looking for, you ​can quickly access the [API](https://api.transparentcdn.com/docs) reference. If you just got here, you’ll most likely want to start at the beginning:

{% content-ref url="/pages/-M8y39ejoyumql0\_NBcC" %}
[Landing in Transparent Edge](https://docs.transparentedge.eu/legacy/landing-transparent-edge)
{% endcontent-ref %}

{% content-ref url="/pages/-M7H\_FZs-6adZF74D1Pf" %}
[Basics concepts](https://docs.transparentedge.eu/legacy/getting-started/faq)
{% endcontent-ref %}

{% content-ref url="/pages/-M7bTz9kH\_8hsYsxrH1h" %}
[Dashboard](https://docs.transparentedge.eu/legacy/getting-started/dashboard)
{% endcontent-ref %}

{% content-ref url="/pages/wKGl5rFi64PL5LfwueLr" %}
[Easy setup](https://docs.transparentedge.eu/legacy/config/easy-setup)
{% endcontent-ref %}

{% content-ref url="/pages/-M7H\_Vnv4HVYwTDqBq\_9" %}
[VCL Reference](https://docs.transparentedge.eu/legacy/config/vcl)
{% endcontent-ref %}


# Landing in Transparent Edge

This guide is intended to help you start using Transparent Edge as quickly as possible.

First and foremost: We're always standing by to help with whatever you may need. Feel free to [contact us](mailto:soporte@transparentedge.eu) if you have any questions or even if you want us to do the initial configuration for you.

## About Transparent Edge

If you’re reading this, it's quite possible that you already know us and that you even know exactly how a CDN works. However, before you begin, we encourage you to have a look through our documentation to familiarize yourself with all the possibilities offered by Transparent Edge. [This](https://docs.transparentedge.eu/legacy/getting-started/faq/start-at-the-beginning) would be a good place to start.

## Sign up

Well, we can see you’ve made the decision. Still, we’d like you to know that it's never too late to turn back. You can cancel your service—much to our regret—by sending a simple [email](mailto:unsubscribe@transparentedge.eu).

But let’s not cancel before we’ve even gotten started. To create a Transparent Edge account, just go to our [contact page](https://www.transparentedge.eu/contacto/). Our team will take care of explaining everything to you.

## Your first configuration

We try to make things easy for you and we like simple things. That’s why we've developed a [wizard](https://docs.transparentedge.eu/legacy/getting-started/dashboard/provisioning) to help you create your first Transparent Edge configuration.

Remember: We love listening to you and improving our service is our number one priority. So, if you see something you don’t like or that seems confusing, or that you think can be done better or more simply, we encourage you to write us an [email](mailto:product@transparentedge.eu).

We’d be more than happy to help you.

## So now what?

Congratulations, your website is functioning through Transparent Edge, but that’s just the beginning. Transparent Edge is based on [Varnish Enterprise](https://www.varnish-software.com/) software, opening up a world of possibilities when it comes to configuring the CDN. In our documentation portal, you’ll find the most common use cases and we explain how to implement them in our guides and tutorials section.

If you'd like to go even further, you can consult our [VCL Reference](https://docs.transparentedge.eu/legacy/config/vcl) manual, which will give you a deep understanding of what can be done with Varnish and Transparent Edge.


# Basics concepts

FAQ

This section contains all the basic concepts about our service that you should understand before you begin:

{% content-ref url="/pages/-M7s-hX7rqex24ZJz3AV" %}
[Glossary](https://docs.transparentedge.eu/legacy/getting-started/faq/glossary)
{% endcontent-ref %}

{% content-ref url="/pages/-M7le2ZzkhdVnVTh-zJE" %}
[Let's start at the beginning](https://docs.transparentedge.eu/legacy/getting-started/faq/start-at-the-beginning)
{% endcontent-ref %}

{% content-ref url="/pages/-M7lt-HsXfNsk\_dK7LLL" %}
[Things to consider](https://docs.transparentedge.eu/legacy/getting-started/faq/things-to-consider)
{% endcontent-ref %}

{% content-ref url="/pages/-M7m9FUNYBxuaQCaxLUk" %}
[Houston, we have a problem](https://docs.transparentedge.eu/legacy/getting-started/faq/houston-we-have-a-problem)
{% endcontent-ref %}

{% content-ref url="/pages/-MAkOYRZcK8cZeNiyyzv" %}
[Invalidating methods](https://docs.transparentedge.eu/legacy/getting-started/faq/invalidating-methods)
{% endcontent-ref %}

{% content-ref url="/pages/-M7bUgHXRyf4DHLA2U9g" %}
[DNS Pointing](https://docs.transparentedge.eu/legacy/getting-started/faq/dns-pointing)
{% endcontent-ref %}

{% content-ref url="/pages/trBm5ogHHJzclh9Pv0LJ" %}
[Logs](https://docs.transparentedge.eu/legacy/getting-started/dashboard/logs)
{% endcontent-ref %}

{% content-ref url="/pages/-MAfoCOS4jvwPABW4KlI" %}
[Predefined headers](https://docs.transparentedge.eu/legacy/getting-started/faq/predefined-headers)
{% endcontent-ref %}

{% content-ref url="/pages/-M7bWW4dGDqiwG9oxDuy" %}
[Default headers](https://docs.transparentedge.eu/legacy/getting-started/faq/default-headers)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vruzHkgV-1-P-46n0" %}
[Forcing No-Cache](https://docs.transparentedge.eu/legacy/getting-started/faq/forcing-no-cache)
{% endcontent-ref %}

{% content-ref url="/pages/-M7me9t\_8p1jVtO-3Zqn" %}
[Architecture](https://docs.transparentedge.eu/legacy/getting-started/faq/architecture)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mpIdqdtzqdoMrYtwr" %}
[Cache effectiveness](https://docs.transparentedge.eu/legacy/getting-started/faq/hitratio)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mexqq0j78Z205cUPs" %}
[SSL](https://docs.transparentedge.eu/legacy/getting-started/faq/gestion-de-certificados-ssl)
{% endcontent-ref %}

{% content-ref url="/pages/JBJaLuQdzaRcBHdxTo51" %}
[HTTP 5xx Error Codes](https://docs.transparentedge.eu/legacy/getting-started/faq/http-5xx-error-codes)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vocWCcXe-BAhIZiID" %}
[Features](https://docs.transparentedge.eu/legacy/getting-started/faq/features)
{% endcontent-ref %}


# Glossary

We have created a catalog of key terms that appear throughout this documentation to help you better understand our service.


# API

An API is a set of routines, protocols, definitions, and tools for developing and integrating application software. APIs specify how the software components interact and they are used for GUI (Graphic User Interface) components.

You can consult our complete API [here](https://api.transparentcdn.com/docs).


# Brotli Compression

Brotli Compression is an open-source compression algorithm developed by Google. It is used to reduce file size.


# Cache-Control

Cache-control is an HTTP header used to specify browser caching policies, in both client requests and server responses.

Policies include how and where a resource is cached and its maximum age before expiring.


# Cache key

A cache key is how the CDN saves an object to its cache. By default, the cache key is made up of:

```
[Host header] + [url] + [Query Stream]
```

From there, we can complicate the cache key as much as we wish, adding more elements to save more versions of the same object. Let’s look at an example:

```
https://www.transparentedge.eu/index.html?param=1
​
https://www.transparentedge.eu/index.html?param=2
```

For Transparent Edge—and generally, for any other system of HTTP caches—these are distinct objects. Therefore, even if the first one is cached, it will download again to the origin when the second one is requested because in the CDN cache they are distinct objects.

We can use the[ Vary](https://docs.transparentedge.eu/v/english/getting-started/faq/cabeceras-por-defecto/vary) header to modify the behavior and save more versions of the same object, as previously mentioned. For instance, with an object like this:

```
https://www.transparentedge.eu/index.html?param=1
```

And a Vary header like this:

```
Vary: User-Agent
```

We can make the CDN cache save as many objects as the number of user-agents requesting them.

In the previous example, the cache would save one object for each distinct user-agent (there are many). This would render the cache system ineffective. That’s why we don’t recommend having a Vary header with a user-agent or cookie value. It could be interesting, however, to have an X-Device value, to be able to serve different versions of an object depending on the type of device requesting the resource.<br>


# Caching

Caching is the process of storing data in a cache. A cache is a temporary storage space. One example are the files that are automatically requested when you look at a web page, and that are stored on the hard drive in a cache subdirectory of the browser directory.


# CNAME

A CNAME is a type of DNS record that maps one domain name (an alias) to another (the canonical name). The CNAME record always points to another domain name, never to an IP address; this second domain is ultimately what points to the IP address of the resource being accessed.


# Cloud Computing

Cloud computing is a generic concept used to describe the hardware and software available through the Internet for storing and accessing data and programs through the network rather than on the hard drive of a computer. In this context, the cloud is the Internet itself.


# Cloud Computing Architecture

Cloud computing architecture includes all the components and subcomponents required for cloud computing. These components typically consist of a front-end platform, back-end platforms, a cloud-based delivery, and a network.


# Cloud Services

The concept of cloud services encompasses any service available through the Internet from the server of a cloud computing provider.


# DASH

Dynamic Adaptive Streaming over HTTP (DASH)—also known as MPEG-DASH—is an adaptive bitrate streaming technique that enables high-quality streaming of multimedia content over the Internet delivered from conventional HTTP web servers. MPEG-DASH works by breaking the content into a sequence of small HTTP segments. Each segment contains a short interval of video/audio and there are multiple different segments for each bitrate.

When the content is played by a MPEG-DASH client, the client automatically selects the segment with the highest possible bitrate.


# Data Center

A data center is a facility that houses computer systems like servers, routers, switches, and firewalls, as well as other components like backup equipment and fire-suppression and air-conditioning systems. Data centers store, process, and distribute data to authorized persons and incorporate data into processes so they can be consulted and/or modified.


# Edge Server

In the context of the CDN, an edge server is a server whose main purpose is to serve content as close as possible to the person requesting it, reducing latency, load times, and bandwidth consumed. These servers are typically located at the logical extreme of a network, providing an entry point into the network or allowing communication between different networks.


# ETag

The ETag or entity tag is one of the mechanisms that HTTP provides for web cache validation, which allows clients to make conditional requests. This allows caches to be more efficient and saves bandwidth, as a web server does not need to send a full response if the content has not changed.


# GSLB

GSLB (Global Server Load Balancing) is a method of distributing Internet traffic to a network of servers in different geographical locations. GSLB ensures that requests are correctly distributed and that they take into account the location of the person using them, improving latency and preventing a single server or group of servers from carrying the entire weight of the traffic.


# HLS (HTTP Live Streaming)

HLS or HTTP Live Streaming is an HTTP-based adaptive bitrate streaming communications protocol developed by Apple Inc. as part of its QuickTime, Safari, OS X, and iOS software. It works similarly to MPEG-DASH in that it also breaks the stream into small HTTP-based downloadable segments.

A list of available streams, encoded at different bit rates, is sent to the client using an extended M3U playlist. Because it is based on HTTP, this protocol can traverse any firewall or proxy server.


# HTTP/2

HTTP/2 is a major revision of the HTTP protocol that enables more efficient use of web resources. It is compatible with HTTP/1.1 and does not involve significant changes to basic concepts like HTTP methods, header fields, and status codes.

It does however include countless improvements, like the use of a single connection, the compression of header fields, and the server push or cache push service that enables the server to preemptively push information to the client before the client requests it. So, for instance, when an HTML page is requested that is linked to style sheets, images, and other resources, everything is sent together in the first request (multiplexing) rather than having to wait to parse the HTML file.


# Infrastructure as a Service (IaaS)

IaaS (Infrastructure as a Service) is a cloud computing model in which all the services of an infrastructure are provided through the Internet. This lets you manage all the applications, data, and operating systems while your provider manages the virtualization, the network, the storage, and the servers.

IaaS means you don’t have to maintain your own data center, with everything that involves, or worry about updating and physically checking all the equipment—the provider takes care of all that.

Normally, the user manages the infrastructure through a web panel or an API, making it easy to scale, update, and add new resources whenever necessary.


# Internet Exchange Point

An Internet Exchange Point (IXP) is a physical infrastructure used by Internet Service Providers (ISPs) to exchange Internet traffic between their networks. Its primary purpose is for the networks to be able to connect to each other directly through an infrastructure rather than having to do so through a third-party network. This decreases the portion of traffic, reducing the average per-bit delivery cost of the content.


# Last-Modified

The Last-modified header is an HTTP response header that contains the date and time when the origin server believes the resource was last modified.

It is used as a validator to determine if the resource is the same as the previously stored one. It is less accurate than an ETag header, but it can be a fallback mechanism.

Conditional requests containing If-Modified-Since or If-Unmodified-Since headers make use of this field.


# Load Balancing

Load balancing is a way to distribute network traffic across multiple servers that uses balancing methods to improve the overall response time and availability of applications. It ensures equal distribution so that no one server has to handle too many requests.

There are several balancing methods or algorithms:

* Least connections: Directs the traffic to the server with the fewest active connections.
* Least response time: Directs the traffic to the server with the fewest active connections and the lowest average response time.
* Round robin: The traffic rotates through the available servers, which can be useful when the servers all have equal value and don’t require persistent connections.
* IP hash: The client’s IP address determines which server receives its request.


# MultiCDN

Multi-CDN is the strategy that combines several existing CDN providers into one large global network. This strategy dynamically optimizes and unifies the leading network infrastructure and cloud providers across the globe to quickly, safely, and reliably accelerate web content, no matter where users are located.


# NoSQL (not only SQL)

A NoSQL is a database that does not use the SQL language to query and define data. The definition often encompasses various non-relational databases that lack tables and tabular relationships, where information is structured so as to give the system good horizontal scalability (adding more servers). The most common examples are for document storage or key-value systems.


# Origin

When we talk about the origin, we're referring to the web servers that host your website. These servers can be in a single data center or in several. They can be in the cloud or on-premise. The only thing Transparent Edge needs for an origin to be valid is for it to respond via the HTTP protocol (with or without SSL) and via the port of your choosing (usually 80 or 443).


# Origin Shield

Origin shield is an extra caching layer of the CDN that sits between the edge servers and the origin server. It is also known as second-level edge or layer 2.

It acts as a funnel, preventing the origin server or servers from receiving requests from multiple edge servers.


# OTT (Over The Top)

An OTT or over-the-top is a media service offered directly to viewers via the Internet, bypassing the cable, broadcast, and satellite television platforms that traditionally control and distribute content.

The term mainly applies to subscription-based video-on-demand services that offer film and television content.


# Platform as a Service (PaaS)

PaaS or Platform as a Service is a delivery method in cloud computing that is halfway between Software as a Service (SaaS) and Infrastructure as a Service (IaaS).

While IaaS provides infrastructure only, PaaS goes a step further and provides a bundle of software tools to design, test, review, and launch the product.

PaaS providers host hardware and software on their own infrastructure. Transparent Edge fits into this framework.


# PoP (Point of Presence)

A PoP (point of presence) is a physical point where a service provider has equipment. It can include everything from a single server to an entire data center.

PoPs are where the edge servers that make up a CDN’s global network are located. The number and location of these PoPs have a great impact on the CDN’s coverage and performance.


# Private CDN

A private CDN is a CDN that only serves content to its owner. It consists of PoPs that can be caching servers, reverse proxies, or application delivery controllers. It can be as simple as two caching servers, or architecture large enough to serve petabytes of content.


# Private Cloud

A private cloud is a computing model in which IT services are provided to a single organization through a private IT infrastructure. They are usually managed using Internet resources.


# Public Cloud

A public cloud is a type of computing service that providers make available to anyone over the Internet. It can be a free service or sold on demand. Some providers offer clients a pay-as-you-go model based on their use of the CPU, the storage, or the bandwidth.


# Purge

To purge means to invalidate content. When we work with cache systems, it’s often necessary to invalidate content and force the caches to go to the origin server for a new copy.

To find out more about the different invalidation methods, click [here.](https://docs.transparentedge.eu/v/english/getting-started/faq/metodos-de-invalidado)


# Query String

The query string is the part of a URL that contains the data to be sent to the web application. It generally includes fields added to the base URL by the client application, for example as part of an HTML form.

```
www.ejemplo.net/web.php?campo1=valor1&campo2=valor2
```

The example above is for a dynamic website. In this case, the server automatically creates the response page when the browser requests it, using the data that appears in the URL.

There are other methods of generating dynamic pages, such as separating the query strings using the “/” character. The server configuration lets us generate friendly URLs, like the one below:

```
www.ejemplo.net/main/blog/132
```

In this case, the name of the variable is predefined on the server based on the variable’s position in the URL, and the content of the variable is its value (main, blog, 132).


# Reverse Proxy

A reverse proxy is a type of proxy server that sits between the client and the server on a network infrastructure. It manages incoming requests, interacting with the server on behalf of the client. This provides an additional layer of abstraction because the client never learns of the characteristics or existence of the server or servers, instead communicating directly with the reverse proxy.

A reverse proxy is often used for safety, load balancing, caching, optimizing load times, etc.


# RTT (Round-trip Time)

Round-trip time is the time it takes, in milliseconds, for a network request to go from a starting point to a destination and back again.


# SaaS (Software as a Service)

Software as a service is a software distribution model in which the software is available through the Internet (cloud-based applications) instead of being installed locally. In this case, the service provider hosts all the infrastructure required for the application to run and the client merely makes use of the software’s functions.


# SDS (Software Defined Storage)

Software-defined storage is a storage architecture in which the storage management software is decoupled from its hardware. It’s generally conceived to run on any x86 system or sector standard, so that software does not depend on any proprietary hardware.


# Smooth Streaming

Smooth Streaming is a [Dynamic Adaptive Streaming over HTTP (DASH)](https://docs.transparentedge.eu/v/english/getting-started/faq/glosario/dash) technology designed by Microsoft for its IIS Media Services product. This product enables the adaptive streaming of media to clients over HTTP.


# Status Code

A status code is an HTTP or HTTPS response code used by the server to let the client know the status of a request and whether or not it was successful.

The[ RFC 2616, section 10](https://www.rfc-editor.org/rfc/rfc2616) lists all the status codes supported by HTTP 1.1, but we are going to highlight the most relevant ones here.

## Successful response

**200 OK**

The request was successful and the server returns a 200 status code to let the client know.[![Edit](https://soporte.transparentcdn.com/images/edit.png)](https://soporte.transparentcdn.com/projects/incidencias/wiki/Status_code/edit?section=4)

**206 Partial Content**

The server is only delivering part of the content. This type of response is given to range requests when the client explicitly requests part of an object using the Content-Range header.

## Redirections

**301Moved Permanently**

This status code indicates a permanent redirection. This type of request can be cached by proxy cache and by browsers. They must be used carefully because they can cause confusion.

**302 Found**

This is used to identify a temporary redirection, so it’s never cached in proxies or browsers.

**304 Not Modified**

This indicates that the content has not been modified on the server. It is sent as a response to requests from browsers and proxies to client web servers with the If-Modified-Since header.

## Client errors

**400 Bad Request**

We see this type of error when the server can't process a request sent by the client. It’s not generally seen in browsers and is more often seen when processes or applications make their own HTTP requests. It’s usually due to a poorly formed request.

**401 Unauthorized**

Sometimes a website or part of it is protected under a username/password and this status code warns us of unauthorized access. Requests with authentication are not cached in Transparent Edge.

**403 Forbbiden**

This tells us we are entering a restricted part of the website and our access is denied, possibly for security reasons. It may be due to an IP restriction or because a prohibited action is being attempted to exploit a vulnerability of the web application. In Transparent Edge, the latter only occurs if you have the Secure Layer.

**404 Not Found**

This type of error is very common. It simply means that the web resource we are requesting cannot be found on the server.

**405 Method not Allowed**

This status code is returned when the client makes an HTTP request using a protocol not supported by the cache or server. Transparent Edge allows the following methods:

```
GET
POST
PUT
DELETE
OPTIONS
PROPFIND
PUSH
HEAD
```

**408 Timeout**

This is a complicated error. It means that the connection has been closed due to exceeding the wait time. If the error occurs on the client server, it will become a 503 in Transparent Edge. Under normal conditions, it’s often due to a communication problem: either an internal firewall, an internal server error, or a firewall/proxy between Transparent Edge and the client. Any “connection close” or “closing connection” message in the client’s server logs could mean a 408. Historically, we’ve had problems with Apache modules that cause this error, like the mpm\_itk (<http://mpm-itk.sesse.net/>).

## Server Errors

**500 Internal Server Error**

This indicates a server error, generally with the application. For instance, it can occur when there are unclosed quotation marks in PHP.

**502 Bad Gateway**

This is a code returned by some web servers when acting as a reverse proxy and the resource behind them is not available. It’s very common with Nginx.

**503 Service Unavailable**

The service is not available. This error is returned when there’s no contact with the client’s web server, either because it’s down or due to a communication problem. It's generated “on the fly” by Transparent Edge when the client has a fatal error. When 503 error messages are received by the client, look for errors in its logs.

**504 Gateway Timeout**

This response code typically occurs when the client’s origin server is taking too long to return a non-cached object, either because it should not be cached or because it has expired.

Transparent Edge protects you against all 5XX errors by showing you the latest cached version. You can get more information [here](https://docs.transparentedge.eu/v/english/getting-started/faq/funcionalidades/proteccion-ante-caidas-del-origen).


# TCP (Transmission Control Protocol)

The TCP (Transmission Control Protocol) is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation and complements the Internet Protocol (IP). Together they form the TCP/IP model.


# TLS Acceleration

TLS acceleration, formerly known as SSL acceleration, is a method of offloading processor-intensive tasks, like those needed to establish and maintain a TLS session and the [initial key exchange](https://es.wikipedia.org/wiki/Seguridad_de_la_capa_de_transporte#Intercambio_de_claves).

Most TLS (Transport Layer Security) accelerators use dedicated processing cards or custom chips ([ASICs](https://es.wikipedia.org/wiki/Circuito_integrado_de_aplicaci%C3%B3n_espec%C3%ADfica) and[ RISC](https://es.wikipedia.org/wiki/Reduced_instruction_set_computing)).


# TLS (Transport Layer Security)

TLS (Transport Layer Security) is a security protocol defined by the IETF (Internet Engineering Task Force) to replace SSL 3.0 (Secure Sockets Layer 3.0). Like SSL, TLS uses digital certificates for user and network authentication.


# TTFB (Time-to-first-byte)

Time to first byte or TTFB is a measurement used to determine the responsiveness of a network resource like a web server or any other type of element. In the web environment, it refers to the time between when a user makes an HTTP request and when the first byte of the page is received by the client’s browser.


# TTL (Time-to-live)

In reference to the CDN, TTL (time to live) is the amount of time an object is cached. The cache system takes different factors into account to determine the lifetime of an object. Correctly configuring these parameters will guarantee the cache works correctly, avoiding unnecessary use of resources and ensuring an optimal user experience.


# Virtual Machine

A virtual machine is software that emulates a computer system. Virtual machines can run programs or full operating systems.

There are two major categories of virtual machines:

* System virtual machines: They allow several operating systems to coexist on a single computer, strongly isolated from each other. The software layer that runs this virtualization is called a virtual machine monitor or [hypervisor](https://en.wikipedia.org/wiki/Hypervisor) and, broadly speaking, it can run on the host’s bare hardware or on an operating system.
* Process virtual machines: These run as a process inside the operating system by interpreting between the source code and the machine code to run the application, independent of the hardware platform and the operating system. The clearest example is the Java Virtual Machine.


# VPS (Virtual Private Server)

A VPS (virtual private server) is a virtual partition of a physical server sold by a VPS provider. Each virtual server can run its own operating system and is allocated exclusive host resources. VPS clients have root access and can typically install any operating system they want.


# Web Services

A web service is a software service used to communicate between two or more networked devices. Specifically, it is a software application with a standardized way of integrating web-based applications. It uses technologies such as XML, SOAP, WSDL, and UDDI over HTTP or HTTPS protocols.


# Let's start at the beginning

Fundamentals

## What's a web cache?

A web cache is simply a system that lets us store HTTP objects dynamically.

A web cache can be found on the client side (web browsers) or on the server side (intermediate proxies or web servers).

These systems significantly improve performance in terms of loading HTTP objects, reducing the load times of web pages and thus optimizing the end-user experience.

The system works by saving local copies of the web objects requested by browsers, so that when the browser requests an object that's in the cache, it is served directly from there without needing to go back to the destination server to generate the object again, saving time.

## What is a CDN?

A CDN is a content delivery network. In basic terms, a CDN is a system of geographically distributed caches that can serve content from the cache server nearest to any end user’s location. This reduces network latency and page load times.

Many people think that CDNs are only used to reduce network latency and bring content closer to end users, but that’s not the case. The true potential of a CDN—and what really enables it to improve load times beyond network latency—lies in its caching techniques: serving a cached object from memory is infinitely faster than generating a web page from scratch by calling its database.

```bash
# Request goes to origin server 
curl  --tlsv1.3 -s -o /dev/null -w "%{time_total}\n" -H "User-Agent: Chrome" https://www.transparentcdn.com/?p=random
0,596708

# Request is serve from CDN server
curl  --tlsv1.3 -s -o /dev/null -w "%{time_total}\n" -H "User-Agent: Chrome" https://www.transparentcdn.com/
0,167391
```

As shown in the example, there is quite a significant time improvement. In this case, it's 3.6 times faster to serve the content from the CDN.

### Other benefits of a CDN

In addition to the above, a CDN has many other benefits, including:

* **Optimization of resources on the origin platform.** Because most traffic is cached and served from the CDN, the origin platform where the client hosts its web pages sees its traffic fall by 80-90%, reducing the number of necessary resources like servers, bandwidth, and even maintenance staff.
* **Cost savings.** The resource optimization generated by the CDN results in cost savings on infrastructure, meaning that the cost of the service more than pays for itself.
* **Increased website security.** The distributed nature of a CDN makes it possible to hide the origin servers from the final user, improving security. Transparent Edge also has additional security services like the[ Transparent Secure Layer](https://www.transparentcdn.com/servicios-empresa/#secure_layer).
* **Absorption of big spikes and traffic volumes.** A CDN allows you to handle large volumes of traffic and spikes that would be very difficult to manage on the origin platform.
* **Easy implementation.** Implementing a CDN is as easy as making a simple change in the client’s DNS so that any website that wants to pass through the CDN no longer points to the origin web server and instead points to the CNAME provided by the CDN.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-079bd524e87f2025ad3c39ff5e119771fea641e1%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Transparent Rocks!

Transparent Edge is the first and only Spanish content delivery network, with infrastructure in over 30 countries. Based on [Varnish Enterprise](https://www.varnish-software.com/) software, it’s the only CDN in the world to offer this Varnish mode with its full potential. Plus, we are a Varnish[ Open Partner](https://www.varnish-software.com/partners/), giving our product an additional level of guarantee.

![](https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-1104efad8b1f52ffe464fecbe065542a3feba28e%2Fimage.png?alt=media)

We created our CDN in 2011 with the idea of building the CDN we would have liked to have had as clients. That’s why our main asset is the people who work at Transparent Edge, and our main value is our proximity to end users.

The goal of this site is not to sell, but to make our clients’ lives easier. So, if you’re reading this, you already know who we are and you’re probably familiar with what makes us great. In fact, you might already be a client. In any case, on our[ website](https://www.transparentedge.eu/en/) you’ll find everything you need to know about Transparent Edge. And you can always send an email to the [sales team](mailto:sales@transparentedge.eu).


# Things to consider

There are several things to keep in mind when working with a CDN in front of your web service. These are the most important ones:

## Updating content

When you work with a CDN, be aware that there is an element in front of your website which is caching all the content you publish. If you want to update an element on the page, once you have it how you want it, you must be sure to delete the cached content from the CDN cache to make way for the new content.

The process of deleting that content is known as invalidating, and there are several options for doing so.

The easiest option is to go to the Invalidation section of our[ portal](https://pulse.transparentedge.eu/), under Cache in the left-hand menu. Click + Purge, choose whether you want to purge by URL or by TAG, then fill in the details and confirm.

![](https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-b9344bbe1a239f6dd4edd04d1b2f9d4bc9b248dc%2FCaptura%20de%20pantalla%202026-10-05%20a%20las%2013.43.50.png?alt=media)

If you choose **Purge URLs,** enter the URL you want to invalidate — or enable **Advanced Mode** to paste several URLs at once instead of one by one. You can also choose the invalidation behaviour: **Purge** (default), **Soft Purge** (marks the object as expired without fully deleting it), **Ban** (invalidates everything matching an expression — can significantly reduce cache efficiency), or **Warm up cache** (re-requests the content from your origin right after purging it).

Another option is to use the API to integrate the invalidation process into the publication system. This way, your system will automatically detect when you change content and launch an invalidation through our [API](https://api.transparentcdn.com/docs).

If you are using[ WordPress](https://docs.transparentcdn.com/integraciones/configuracion-plugin),[ Magento](https://docs.transparentedge.eu/integraciones/plugin-para-magento), or[ Prestashop](https://docs.transparentedge.eu/integraciones/plugin-para-prestashop), we have plugins available that are specifically geared toward integrating the CMS with Transparent Edge so you don’t have to worry about it.

## Client IP

When you are behind our CDN, you won’t see the client IP address in the usual way. This is because Transparent Edge is making the requests to the origin servers on the client's behalf. But don't worry, all is not lost.

To deal with this situation, Transparent Edge has created extra HTTP headers that allow us to send customers the IP address of the real user who is doing the browsing. So, even though the server is behind the cache network, the customer can still take the appropriate actions based on the real IP address. We do this with X-Forwarded-For and/or True-Client-IP headers.

We explain it in detail[ here](https://docs.transparentedge.eu/v/english/getting-started/faq/cabeceras-por-defecto/true-client-ip-y-x-forwarded-for).

## IPS/IDS Systems

If you have IPS/IDS systems on your origin platform, you need to be extremely careful. Even though these systems are intended to protect your platform, they can cause problems when working behind a CDN.

One of the many benefits of IPS systems is that they can detect when a particular IP address is accessing a resource illicitly.

As mentioned above, when you are behind a CDN, all the requests to your origin server will come from the CDN's IP addresses. So, the IPS may think that the CDN's IP addresses are making more requests than any one IP should make and restrict them as if it were an attack.

This is obviously a false positive that can be corrected, but it’s something to keep in mind.

At Transparent Edge we publish our [IP](https://api.transparentcdn.com/v1/companies/ipranges/) ranges through our API. If you have these types of systems, we recommend including all the Transparent Edge IP addresses on a whitelist within the IPS.

## Root domains

With Transparent Edge—like with many other CDNs—the most common way to start running the service is by making a simple DNS change so that, for instance, the www subdomain of your website will no longer be an A record but a CNAME record that we’ll give you when you sign up.

So far, so good. But if your website runs directly with the canonical domain—that is, without the www or any other domain (e.g.: **<https://mysite.com>** instead of **htttps\://[www.mysite.com](http://www.mysite.com)**), you’re not done quite yet:

* If your domain doesn’t have any MX records added to it, in theory you’ll be able to use the CNAME of the canonical domain, although not all DNS providers support this option. We repeat: This is the easiest option, but it’s not available with all DNS providers.
* Another option would be to let us take care of the domain management within our DNS system.

## Set-Cookies and pages with basic authentication

Web pages whose responses have the Set-Cookies or Authorization headers are cached in Transparent Edge by default.


# Houston, we have a problem

We want you to be as autonomous as possible on a day-to-day basis, but we know that sometimes you might need a hand. So, if you have any technical questions or problems—if even if you’re unhappy with the office coffee machine—don’t hesitate to write to our support team.

You can also go into our[ portal](https://pulse.transparentedge.eu/), where you can open a ticket or talk to us through our chat.

Plus, in honor of our name, we’re happy to share a list of email addresses that you can use at any time:

* [**Support**](mailto:help+cdn@transparentedge.eu)
* [**Sales**](mailto:sales@transparentedge.eu)
* [**Marketing**](mailto:marketing@transparentedge.eu)
* [**HR**](mailto:joinus@transparentedge.eu)
* [**Diego Suarez** ](mailto:undefined)**(CTO)**
* [**Jorge Román** ](mailto:jroman@transparentedge.eu)**(CEO)**


# HTTP, How does it work?

Cache systems like Transparent Edge can provide countless benefits to your website, like reducing load times of pages, absorbing high traffic volumes, improving the security of portals, and sometimes even reducing infrastructure costs.

However, like everything in this world, this one also has its difficulties, although once you understand how a cache works and the flow of HTTP requests, it’s relatively straightforward. In this entry, we’ll explain how an HTTP request works internally, analyze request and response headers, and show you how they get interpreted by an HTTP cache.

![](https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-1104efad8b1f52ffe464fecbe065542a3feba28e%2Fimage.png?alt=media)

The figure above shows the flow of a website request for an HTTP object from a conventional client to the web server that hosts the site [www.transparentedge.eu](http://www.transparentedge.eu) (without passing through a cache). Not too complicated, right? Let’s take a deeper look.

After establishing the TCP connection with the server—generally over port 80—the client sends an HTTP GET method request for the “/” object (this “slash” object is the site’s homepage; if the client wanted a different object, instead of “/” you would see, for instance, “/categories” or “/image.png”).

The client sends the GET request with a set of headers, all of which are optional except the Host header. The Host header is used so that servers configured for multiple domains know which of their websites needs to be served to the client. Without this header, the server would understand that it had to serve the default website. As mentioned, the rest of the headers are optional, although modern browsers typically send a good deal of information in request headers. These often include the User-Agent header, which identifies the type of browser used for the request; the Cookie header, which contains information stored on the user's browser that is put to multiple uses by the website; and the Referer header, which tells the server the address of the page making the request.

In the response to this request, the web server sends the content itself along with another set of headers, some of which are rather important to the subject at hand.

On the first line, we see that the server responds with “HTTP/1.1 200 OK”. Here the server is using code 200 to tell the client that the requested resource has been found and served correctly. Section 10 of the[ RFC2616](https://tools.ietf.org/html/rfc2616#section-10) defines all the status codes that a web server can return in response to an HTTP request. Second, we see the Cache-Control header, which can be configured in the web server or in code. It tells the client’s browser (and all the caches the request passes through) that the object must be updated every 2592000 seconds in this case—or in other words, that the object can be stored on the browser’s cache for 30 days. To keep this brief, we’re not going to analyze the rest of the headers; instead, we’ll see what would happen if this request did pass through a cache like Transparent Edge. Let’s take a look:

![](https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-7ee5e0b8d9f7c4f7669a2c95a717971338b9a95b%2Fflujo-cdn-nicte.png?alt=media)

This might appear to complicate things, but it's actually simpler than it seems. To help you understand it, we’ll follow the request through all its steps.

First—and this step is always the same—the client or web browser makes an HTTP request. But instead of going directly to the web server, in this case it's going to pass through a cache like Transparent Edge. This step is completely transparent to the web client, because it doesn’t actually know whether the request is going directly to a web server or to a cache. So: The request is received by the cache system and the cache checks whether or not the object being requested by the client is available in the cache. If it is, the object is returned without having to request it from the web server. If it isn’t, as is the case in our example, the cache will request the object from the web server, resending the exact same request it received from the client (step 2).

At this point, the web server receives the request, processes it, and sends the requested content to the cache along with the response headers (step 3).

The cache has just received the content from the web server and this is where the magic of caching occurs: the cache inspects the headers of the HTTP response and reads the Cache-Control header where the server tells it to store the object for 2592000 seconds (30 days). This means that during that time, every time the cache receives a request for that object it won’t have to get it from the web server and can instead serve it directly from the cache. This improves the loading speed of the pages and reduces the work of the web server.

At this point, the cache system adds another set of headers, like the Age header, which tells the client how many seconds the object has been stored in the cache, and the TP-Cache or TP2-Cache headers, which are exclusive to Transparent Edge and tell the browser whether the object has been served from the first cache (TP-Cache: HIT), from the second cache (TP2-Cache: HIT), or from no cache (TP-Cache: MISS and TP2-Cache: MISS) in which case the object had to be requested from the web server.

Finally, in the fourth step, the cache sends the content to the client, which interprets and displays it.


# Invalidating methods

There are two methods for invalidating content: **PURGE**, which is a single invalidation that invalidates one particular object; and **BAN**, which is a recursive invalidation that can invalidate more than one object at a time.

## Cache Key

A cache key is how the CDN saves an object to its cache. By default, the cache key is made up of:

```
[Host header] + [url] + [Query Stream]
```

From there, we can complicate the cache key as much as we wish, adding more elements to save more versions of the same object. Let’s look at an example:

```
https://www.transparentcdn.com/index.html?param=1

https://www.transparentcdn.com/index.html?param=2
```

For Transparent Edge—and in general for any other system of HTTP caches—these are distinct objects. Therefore, even if the first one is cached, it will download again to the origin when the second one is requested.

We can use the[ Vary](https://docs.transparentedge.eu/v/english/getting-started/faq/cabeceras-por-defecto/vary) header to modify the behavior and save more versions of the same object. For instance, with an object like this:

```
https://www.transparentcdn.com/index.html?param=1
```

And a Vary header like this:

```
Vary: User-Agent
```

We can make the CDN cache save as many objects as the number of user-agents requesting them.

{% hint style="warning" %}
This example in particular makes the efficiency of the cache decline drastically, which is why we don’t recommend having a Vary header with a user-agent or cookie value. It could be interesting, however, to have an [X-Device](https://docs.transparentedge.eu/v/english/getting-started/faq/cabeceras-por-defecto/x-device) value, value, to be able to serve different versions of an object depending on the type of device requesting the resource.
{% endhint %}

## Single or PURGE invalidations

This kind of invalidation lets you invalidate one particular object in the cache. To do so, you must be sure to enter the full URL with all the parameters included.

{% hint style="info" %}
If you have modified the behavior of the cache-key with the Vary header, you typically shouldn’t have to worry. This kind of invalidation should invalidate all the existing versions of that particular object.
{% endhint %}

One type of PURGE invalidation is known as a SOFTPURGE, which is much less aggressive.

To do an invalidation from our[ dashboard](https://pulse.transparentedge.eu/), just follow this[ guide](https://docs.transparentedge.eu/v/english/getting-started/dashboard/invalidating-content).

## Recursive or BAN invalidations

BAN invalidations let you invalidate cache content recursively, by sending a blacklist and telling the cache to invalidate any object that matches it. For instance, we can tell it to invalidate **<https://www.transparentedge.eu/images/>.** This would invalidate any object that matches this URL, such as:

**<https://www.transparentedge.eu/images/image1.png>** or **<https://www.transparentedge.eu/images/2020/02/22/index.php>.**

To do an invalidation from our[ dashboard](https://pulse.transparentedge.eu/), just follow this[ guide](https://docs.transparentedge.eu/v/english/getting-started/dashboard/invalidating-content).

{% hint style="warning" %}
These invalidations are incompatible with the refetching feature.
{% endhint %}

{% hint style="danger" %}
This kind of invalidation can be very dangerous in some cases. For instance, if you invalidated the website <https://www.transparentedge.eu/> recursively, you could run into serious problems on your origin platform, as there would soon be a flood of traffic coming from all your users. Use it wisely.
{% endhint %}

{% hint style="info" %}
Remember that everything you can do from our[ dashboard](https://pulse.transparentedge.eu/) you can do from our[ API](https://docs.transparentedge.eu/v/english/getting-started/faq/glosario/api).
{% endhint %}


# DNS Pointing

After you sign up for Transparent Edge, you’ll receive a welcome email. It will include a[ CNAME](https://docs.transparentedge.eu/v/english/getting-started/faq/glosario/cname-1) to complete the configuration.

The CNAME will have the following structure:

`<SERVICE>.<CLIENT_ID>.edge2befaster.net`

We’re going to look at how to do the configuration using this CNAME as an example:

**caching.c4.edge2befaster.net**

This is the CNAME to point your domains at. You can also always find it in the Provisioning tab of our[ dashboard](https://pulse.transparentedge.eu/).

{% hint style="warning" %}
Always remember to point your CNAME to caching.c4.edge2befaster.net
{% endhint %}

Once you know your assigned CNAME, you just have to go to your DNS provider (normally it’s where you bought your domains) and change the record you want to pass through Transparent Edge.

Before we continue, we’d just like to mention that this way of working, using a CNAME, is only valid for **subdomains** like [www.yourdomain.com](http://www.yourdomain.com) or blog.yourdomain.com, never to point directly at yourdomain.com without a subdomain. This limitation is imposed by the[ RFC 1912](https://www.ietf.org/rfc/rfc1912.txt) and, although there are exceptions, many DNS servers simply don’t allow it.

Typically, you’ll want it to be the subdomain [www.yourdomain.com](http://www.yourdomain.com). In this case, once you’re in your DNS provider, you’ll have to find the **www** record, which most likely points to an IP address with an[ A](https://www.ietf.org/rfc/rfc1912.txt) record. Something like this:

```
www.yourdomain.com	    A	    1.1.1.1
```

You’ll have to delete that record and create a new one that is a CNAME instead of an A record, pointing to **caching.c4.edge2befaster.net.** Such as:

```
www.yourdomain.com    CNAME    caching.c4.edge2befaster.net 
```

This change does not happen automatically and how long it takes primarily depends on two things:

1. The time your DNS provider takes to apply the changes, which is usually immediate.
2. The DNS propagation time. According to the RFC, it can take up to 24 hours to see the change, but it generally only takes a few minutes. This delay is due to the DNS architecture itself and the caching times of each domain.

{% hint style="warning" %}
If you want to make a DNS change where the changes appear as quickly as possible, we recommend lowering your domain’s TTL as much as you can.
{% endhint %}


# Log formats

Transparent Edge makes its website logs available to customers. This can work in two different ways:

1\. (PULL): The customer can download the logs from an FTP set up for that purpose.

2\. (PUSH): Transparent Edge can send the logs every hour to an FTP that the customer makes available to us for that purpose.

This service is not enabled by default. If you’d like to enable it, follow the instructions[ here](https://docs.transparentedge.eu/getting-started/dashboard/envio-de-logs).

## Log format - Web Caching Service

```
203.0.113.5 - - [10/Aug/2024:06:20:13 +0000] "GET http://www.transparentedge.eu/wp-content/plugins/ninja-forms/assets/fonts/fontawesome-webfont.woff2 HTTP/2.0" 200 66624 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36" hit "font/woff2" "L1" 1194 "82" "https://www.transparentedge.eu/wp-content/cache/wpo-minify/1724664512/assets/wpo-minify-footer-a97725b0.min.css" https ES "OK" "TCDN-OK:782763138" 1766
```

* **Field 1**: Client IP.
* **Field 2**: Remote logname. Always '-'.
* **Field 3**: Username from auth basic.
* **Field 4**: Date and time (UTC).
* **Field 5**: HTTP Method.
* **Field 6**: URL requested.
* **Field 7**: Protocol.
* **Field 8**: Status code.
* **Field 9**: Size of the object.
* **Field 10**: User-Agent.
* **Field 11**: Result of the request (HIT/MISS).
* **Field 12**: Content type.
* **Field 13**: Cache layer that served the request (L1/L2).
* **Field 14**: Response time of the request in microseconds.
* **Field 15**: Client ID.
* **Field 16**: Referer.
* **Field 17**: Real protocol (because we undo the HTTPS in a layer prior to the cache layer, this field is necessary to identify if the original request was made via HTTP o HTTPS).
* **Field 18**: Country code.
* **Field 19**: Multi-purpose field. If [BotM](https://docs.transparentedge.eu/legacy/security/bot-management) is active and performs any action, it's shown here.
* **Field 20**: [Origin Error.](https://docs.transparentedge.eu/legacy/getting-started/faq/http-5xx-error-codes)
* **Field 21**: Remaining TTL of the object.

## Format of WAF logs

```
47.62.117.136 - - [25/May/2020:15:03:22 +0000] "GET http://www.example.com/elt/ HTTP/1.0" 200 12423 "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "text/html" "waf" 1 "179"
```

* **Field 1**: Client IP.
* **Field 2**: Remote logname. Always '-'.
* **Field 3**: Username from auth basic.
* **Field 4**: Date and time + time difference.
* **Field 5**: Host header.
* **Field 6**: Request URL.
* **Field 7**: Protocol.
* **Field 8**: Status code.
* **Field 9**: Size of the object.
* **Field 10**: User-Agent.
* **Field 11**: Content type.
* **Field 12**: Layer that served the request (in this case WAF).
* **Field 13**: Response time of the request.
* **Field 14**: Client ID.


# Predefined headers

All requests that pass through Transparent Edge automatically get a set of headers added to them that we think can be useful for the origin. They are as follows:

## True-Client-IP

Because CDNs function as reverse proxies, if you don’t make any changes, you’ll no longer see your users’ IP addresses in your origins (and therefore in your logs). Instead, you’ll see the IP addresses of Transparent Edge's servers. This is because the users establish a connection with our servers, so we are the ones making a request to their servers in the case of a MISS. This header is included to give you traceability of end users. Unlike the X-Forwarded-For header, this one sends the end user’s IP without any intermediate proxies.

## geo\_country\_code and geo\_region\_code

For each request, we geolocate the users’ IP addresses using a specific geolocation database. Although it's possible to gather more information using VCL, we take the most common and useful data and include them in header paths available in both VCL and the client's origins, with data about the country's ISO code and the geographical region where the IP is located.

We update the databases weekly, but the accuracy of the region is limited by factors such as the providers’ CGNAT. The country code, however, is highly reliable.

## X-Device

We know that managing user-agents can be a nightmare, which is why we standardize the `User-Agent` header of the original request and create an extra header with three possible values: `mobile`, `tablet` and `desktop`.

## X-Forwarded-Proto

Despite the growing standardization of HTTPS certificates worldwide, there are still web services that use the HTTP protocol to communicate in plaintext. The X-Forwarded-Proto header—also reflected in logs—has a value of http or https to indicate whether the original request was in plaintext or ciphertext.

## X-Remote-Port

The same as the header `True-Client-IP` , this header is included to give you traceability of the port used by the end users as received by Transparent Edge\`s servers.


# Default headers

{% content-ref url="/pages/-M7vyfCv9xDxGYbthezX" %}
[geo\_country\_code](https://docs.transparentedge.eu/legacy/getting-started/faq/default-headers/geo_country_code)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vy\_jcuN1z1ZDCA-cU" %}
[X-Device](https://docs.transparentedge.eu/legacy/getting-started/faq/default-headers/x-device)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mfXpIdO7s\_SMQkZC4" %}
[Vary](https://docs.transparentedge.eu/legacy/getting-started/faq/default-headers/vary)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mdWEZ3O7nGjzqqApz" %}
[Cache headers](https://docs.transparentedge.eu/legacy/getting-started/faq/default-headers/cabeceras-de-cache)
{% endcontent-ref %}


# geo\_country\_code

By default, Transparent Edge geolocates all requests that pass through our systems by sending a header to the origin with the country code from which the request was made. This is the **Geo\_Country\_Code** header.

```
geo_country_code: ES
```

If the system was unable to locate the user's IP, it sends the Unknown string in the header.

Thanks to this feature, there are a great many things we can do based on the location of the end user, such as:

* Block/permit content from certain countries.
* Send requests to different origins based on the geographical location of the end user.
* Serve special content by country.
* Rewrite headers based on the country the request came from.
* Custom rules based on that header.


# X-Device

Transparent Edge can use the User-Agent header to determine the type of device that is connecting and categorize it as a desktop, mobile, or tablet.

To identify the device, Transparent Edge includes a header called X-Device in both the request to the origin and the response to the client. This header can have three values:

* desktop
* mobile
* tablet

Depending on the value of this header, Transparent Edge saves a version of each object for that device, making it possible to serve different content for each type of device under the same URL.[![Edit](https://soporte.transparentcdn.com/images/edit.png)](https://soporte.transparentcdn.com/projects/incidencias/wiki/Detecci%C3%B3n_de_dispositivos_m%C3%B3viles/edit?section=2)

### Force device (feature available on request)

Even if the device is detected, it's possible to, for instance, force a mobile device to display a desktop version. We do this using the Force-Device cookie. If this cookie is present, it takes priority over X-Device.


# Vary

The Vary header can be very useful, but sometimes dangerous. It is used to tell caches (either the browser cache, a proxy, or a CDN like Transparent Edge) to save different versions of the same object depending on a given header. Let’s look at some examples of how to use it well and what not do to.

### Bad use of the Vary header

```
HTTP/1.1 200 OK
Vary: Cookies
Cache-control: max-age=86400
Content-Type: text/html; charset=UTF-8
TSSecure: SecureLayer
client-id: 4
TP-l2-Cache: MISS
X-Device: desktop
Date: Mon, 19 Oct 2015 15:24:05 GMT
Age: 85783
Connection: keep-alive
TP-Cache: HIT
```

In the response headers in this example, we can see the Vary: Cookies header. This tells the caches to save a different version of the same object—like an image or a homepage—for each different cookie received. In other words, this type of request would have a very low hit ratio, possibly below 10%, rendering the cache system ineffective.

Another bad use example is the Vary: User-agent header, which would save a different version of the same object for every user-agent that visits the site. Be warned, there are quite a few user-agents out there!

### Good use of the Vary header

```
HTTP/1.1 200 OK
Vary: Accept-Encoding
Cache-control: max-age=86400
Content-Type: text/html; charset=UTF-8
TSSecure: SecureLayer
client-id: 4
TP-l2-Cache: MISS
X-Device: desktop
Date: Mon, 19 Oct 2015 15:24:05 GMT
Age: 85783
Connection: keep-alive
TP-Cache: HIT
```

Here we are saving a different version of an object based on whether or not the object is compressed. This is done to maintain backward compatibility with old browsers and is the typical example of using this header well.

Another example is the Vary: X-Device header. When we use Vary this way, we tell Transparent Edge to save a different version of the object based on the X-Device value, which can be desktop, mobile, or tablet.

You can read more about detecting mobile devices [here](https://docs.transparentedge.eu/v/english/getting-started/faq/funcionalidades/deteccion-de-dispositivos).

Learn more about this header[ here](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).


# Cache headers

Cache headers are key to the correct functioning of a cache system in general, and of Transparent Edge in particular. Using them significantly increases the load speed of web pages, improving the user experience.

Transparent Edge uses several types of headers to know whether or not to store an object in its cache, but in this document, we're going to focus on the **Cache-Control** header.

At Transparent Edge, the **Cache-Control** header takes preference over all other cache headers—so if there are more than one, it’s the only one we’ll pay heed to.

The **Cache-Control** header is an improvement in HTTP/1.1 which simplifies the previous caching mechanisms in the HTTP/1.0 protocol. We use this header to indicate to intermediate caches and the browser cache whether or not an object should be stored and for how much time.

Like all HTTP headers, **Cache-Control** is a key-value pair, where the key is always the word **Cache-Control**. In terms of the server’s response, this value can be:

#### **public**

The **Public** header indicates to the cache that the object is public and therefore cacheable. It’s not typically found alone in the Cache-Control header.

#### **private**

Unlike Public, the **Private** header indicates that the content should not be cached because it is user-personalized content and should only be stored on the client's local device.

#### **no-cache**

The **No-Cache** header prevents an object from being cached in Transparent Edge. Even if the object is stored, it is never used.

#### **no-store**

This option prevents the cache from storing—and therefore caching—the object.

{% hint style="info" %}
The Private, No-Cache, and No-Store headers all have the same effect on browsing (with slight differences): They force the content to be cached on the client’s origin servers.
{% endhint %}

#### **must-revalidate**

This option forces the cache to go to the origin for a new copy of the object, telling it to disregard the rest of the cache headers and go get a new copy.

#### **proxy-revalidate**

This works just like **Must-Revalidate** but only affects proxies.

#### **max-age**

This header is used to indicate to Transparent Edge how many seconds we want the object to be stored in the cache and marked as valid. Once this time has passed, the object is marked as expired and the system is forced to go to the client’s origin servers for a new copy. This option affects both proxies and browser caches.

#### **s-maxage**

This is exactly the same as Max-Age, except it only affects the behavior of proxies and not browser caches. The two can be used in conjunction to create special behaviors, for example:

```
Cache-Control: max-age=0, s-maxage=3600
```

In this special case, the object will be stored on Transparent Edge for one hour (3600 s), but it won’t be stored in the browser.


# Age

The **Age** response header tells us how many seconds the object has been in the cache of the node serving the request.

```
curl -v -H "User-Agent: TCDN" https://www.transparentcdn.com/ > /dev/null
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 20 May 2020 15:11:57 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Link: <https://www.transparentcdn.com/wp-json/>; rel="https://api.w.org/"
< Link: </wp-includes/css/dist/block-library/style.min.css?ver=5.2.4>; rel=preload; as=style, </wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.4>; rel=preload; as=style, </wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css?ver=1.8.1>; rel=preload; as=style, </wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css?ver=1.8.1>; rel=preload; as=style, </wp-content/plugins/revslider/public/assets/css/rs6.css?ver=6.1.1>; rel=preload; as=style, </wp-content/themes/cesis/style.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis_child_theme/style.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/css/cesis_media_queries.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/css/cesis_plugins.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/includes/fonts/cesis_icons/cesis_icons.css?ver=5.2.4>; rel=preload; as=style, </wp-admin/admin-ajax.php?action=dynamic_css?ver=5.2.4>; rel=preload; as=style, </wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css?ver=6.0.5>; rel=preload; as=style, </wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=6.0.5>; rel=preload; as=style, </wp-content/themes/cesis/admin/redux-extensions/extensions/dev_iconselect/dev_iconselect/include/fontawesome/css/font-awesome-social.css?ver=5.2.4>; rel=preload; as=style, </wp-includes/js/jquery/jquery.js?ver=1.12.4-wp>; rel=preload; as=script, </wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1>; rel=preload; as=script, </wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.4>; rel=preload; as=script, </wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js?ver=1.8.1>; rel=preload; as=script, </wp-content/plugins/revslider/public/assets/js/revolution.tools.min.js?ver=6.0>; rel=preload; as=script, </wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.1.1>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_collapse.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_countup.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_easing.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_fittext.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/fitvids.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/fonticonpicker.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/lightgallery.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/owlcarousel.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/scrollmagic.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_transition.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/smartmenus.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/isotope.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/waypoints.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_custom.js?ver=5.2.4>; rel=preload; as=script
< TP-l2-Cache: HIT
< X-Device: desktop
< Age: 5622
< content-security-policy-report-only: default-src https: data: 'unsafe-inline' 'unsafe-eval'; report-uri https://api.transparentcdn.com/v1/csp/report/4/
< TP-Cache: HIT
< Vary: , Accept-Encoding
< strict-transport-security: max-age=31536000; includeSubDomains; preload
```


# TP-Cache

As we explain in the document

<https://docs.transparentedge.eu/v/english/getting-started/faq/arquitectura/capas-de-cache>

Transparent Edge is made up of two cache layers.

We can optionally add a header in the Mid-Tier to all the requests that pass through the CDN to let us know whether the object was served from the cache or whether it was necessary to go to the next layer or the origin server to find it.

These headers are **TP-Cache** (in layer 1) and **TP2-Cache** (only in Mid-Tier). This header can have the value **HIT** or **MISS** depending on whether or not the object was served from the cache.

Let's look at some examples:

```
TP-Cache: HIT
TP2-Cache: MISS
```

In this case, the object was served from one of the layer 1 caches, without having to go to the Mid-Tier to find it.

```
TP-Cache: MISS
TP2-Cache: HIT
```

This is the opposite scenario: The object was not in layer 1 or was expired there, and when requesting it from the Mid-Tier that cache found a fresh version of the object which was served from that layer. Therefore, the request did not ultimately have to go to the client's origin servers.

```
TP-Cache: MISS
TP2-Cache: MISS
```

In this final case, a valid copy of the object was not found in the cache, either because it was not a cacheable object or because it was expired, so the request went directly to the client's origin servers.

For reasons of clarity, in this document we have been speaking about the Cache-Control header, but Transparent Edge complies with the letter and spirit of the [RFC](https://www.rfc-editor.org/rfc/rfc2616#section-14), so any of the cache headers available there can be used.

```
curl -v -H "User-Agent: TCDN" https://www.transparentcdn.com/ > /dev/null
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 20 May 2020 15:11:57 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Link: <https://www.transparentcdn.com/wp-json/>; rel="https://api.w.org/"
< Link: </wp-includes/css/dist/block-library/style.min.css?ver=5.2.4>; rel=preload; as=style, </wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.4>; rel=preload; as=style, </wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css?ver=1.8.1>; rel=preload; as=style, </wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css?ver=1.8.1>; rel=preload; as=style, </wp-content/plugins/revslider/public/assets/css/rs6.css?ver=6.1.1>; rel=preload; as=style, </wp-content/themes/cesis/style.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis_child_theme/style.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/css/cesis_media_queries.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/css/cesis_plugins.css?ver=5.2.4>; rel=preload; as=style, </wp-content/themes/cesis/includes/fonts/cesis_icons/cesis_icons.css?ver=5.2.4>; rel=preload; as=style, </wp-admin/admin-ajax.php?action=dynamic_css?ver=5.2.4>; rel=preload; as=style, </wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css?ver=6.0.5>; rel=preload; as=style, </wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=6.0.5>; rel=preload; as=style, </wp-content/themes/cesis/admin/redux-extensions/extensions/dev_iconselect/dev_iconselect/include/fontawesome/css/font-awesome-social.css?ver=5.2.4>; rel=preload; as=style, </wp-includes/js/jquery/jquery.js?ver=1.12.4-wp>; rel=preload; as=script, </wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1>; rel=preload; as=script, </wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.4>; rel=preload; as=script, </wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js?ver=1.8.1>; rel=preload; as=script, </wp-content/plugins/revslider/public/assets/js/revolution.tools.min.js?ver=6.0>; rel=preload; as=script, </wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.1.1>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_collapse.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_countup.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_easing.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_fittext.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/fitvids.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/fonticonpicker.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/lightgallery.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/owlcarousel.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/scrollmagic.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_transition.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/smartmenus.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/isotope.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/waypoints.js?ver=5.2.4>; rel=preload; as=script, </wp-content/themes/cesis/js/cesis_custom.js?ver=5.2.4>; rel=preload; as=script
< TP-l2-Cache: HIT
< X-Device: desktop
< Age: 5622
< content-security-policy-report-only: default-src https: data: 'unsafe-inline' 'unsafe-eval'; report-uri https://api.transparentcdn.com/v1/csp/report/4/
< TP-Cache: HIT
< Vary: , Accept-Encoding
< strict-transport-security: max-age=31536000; includeSubDomains; preload
```


# True-Client-IP and X-Forwarded-For

The client’s IP address is masked by Transparent Edge’s cache network. This means that the client’s origin server is always going to receive connections from an IP address in **our cache network**. Plus, that cache network will vary over time, making it impossible to filter by IP address (level 3 OSI).

To do so, at Transparent Edge we create extra non-standard HTTP headers to be able to send our clients the IP addresses of the actual users who are doing the browsing. This lets clients take the appropriate actions with the addresses even though the server is behind the cache network. This is done using the X-Forwarded-For and/or True-Client-IP headers.

From there, it’s up to the client to capture the header and operate with it.

### What's the difference between X-Forwarded-For and True-Client-IP?

**X-Forwarded-For** is a standard HTTP header where the software of various proxies adds the client’s IP address, including corporate systems. This means that if a request crosses several layers, several addressees will appear in the header separated by commas. As a result, clients will either have to “separate” the last IP address or analyze several of them.

**True-Client-IP** returns the last IP address before the request reaches the Transparent Edge servers. It corresponds to the first IP address of X-Forwarded-For and is therefore the actual address of the client that initiated the connection.


# Forcing No-Cache

## Just what we all love: Sending headers from the origin

At Transparent Edge we want our customers to have as much autonomy as they can. That's why we always encourage a CDN configuration that's as simple as possible and for cache headers to be sent from the origin servers whenever possible. This [link](https://docs.transparentedge.eu/guias/configurar-mis-servidores-para-enviar-cabeceras-de-cache) contains information on how to do it.

To force an object to not be cached, you can configure the Cache-Control header with any of these values:

```
no-cache
no-store
max-age=0
private
must-revalidate
```

Although there are small differences in each one, they have the same effect in practice which is for the content not to be cached. If we had to choose one, we’d use **no-cache**.

## Not caching or bypassing the cache of the CDN

The following covers the majority of use cases for not caching or bypassing the cache of the CDN.

#### Bypass or ignore the cache of the CDN

With this option we can ignore the cache and go directly to the origin to retrieve a fresh object always. Note that this doesn't prevent the object from entering in the cached after the backend response is executed, but it ensures that the client will never receive a cached response. Just call `bypass_cache` to ignore, skip or bypass the cache.

```javascript
sub vcl_recv {    
    if (req.http.host == "www.transparent.com" && req.url ~ "^/admin") {
        call bypass_cache;
    }
} 
```

#### Don’t cache the object in the CDN by rewriting the origin headers

```javascript
sub vcl_backend_response {    
    if ((bereq.http.host == "www.transparent.com") && (bereq.url ~ "/my-new-url")) {
            unset beresp.http.Cache-Control;
            set beresp.http.Cache-Control = "max-age=0";
            set beresp.ttl = 0s;
    }
} 
```

With this code, we rewrite the headers that come from the origin and add the amount of time we want the object stored in the cache. In our case, it is 0s—both for the internal TTL which will force the object to be stored in the Transparent Edge cache, and for the cache header to be sent to the browser (Cache-Control).

You can also get more details about rewriting headers [here](https://docs.transparentedge.eu/v/english/getting-started/faq/funcionalidades/reescritura-de-cabeceras).


# Architecture

{% content-ref url="/pages/-M7mrTL4TBcstyCYAu0v" %}
[Transparent Edge’s IP addresses](https://docs.transparentedge.eu/legacy/getting-started/faq/architecture/ip-ranges)
{% endcontent-ref %}

{% content-ref url="/pages/-M7bXBVn4SHXHrrldvlo" %}
[Locations and PoP](https://docs.transparentedge.eu/legacy/getting-started/faq/architecture/pops-and-locations)
{% endcontent-ref %}

{% content-ref url="/pages/-M7meP8TZkRY8QhsdwnN" %}
[Cache layers](https://docs.transparentedge.eu/legacy/getting-started/faq/architecture/cache-layers)
{% endcontent-ref %}


# Transparent Edge’s IP addresses

As part of our transparency policy, it’s important that the Transparent Edge nodes can be identified at all times, not just by our clients but by any person who wishes to know them.

That is why we publish an endpoint[ ](https://api.transparentcdn.com/v2/companies/ipranges/)in our API with all our public IP addresses: <https://api.transparentcdn.com/v2/companies/ipranges/>.

That endpoint contains all the IP addresses that may connect to your origin/backend, it's extremely important that those IPs are allowed in the origin server(s) firewall, IDS, etc.

The same IPs can also be retrieved in plain format: <https://api.transparentcdn.com/v2/companies/ipranges?format=txt>


# Locations and PoP

At the time of posting this entry (March 19, 2026), Transparent Edge has more than 70 PoPs (Points of Presence) distributed worldwide to offer the best possible user experience. We are the only CDN with three PoPs in Spain.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2FCZm8rGNGBNJv6TgKcSRU%2FTE_mapa_negativo_julio_2025.png?alt=media&amp;token=9dab6add-8630-47b1-99f1-cdd268142b8d" alt=""><figcaption></figcaption></figure>


# Cache layers

Transparent Edge has two cache layers that are optional for our clients. The goal is to improve the[ hit ratio](https://soporte.transparentcdn.com/projects/incidencias/wiki/Hit_Ratio) and reduce the number of unnecessary requests to their origin servers. Plus, this type of architecture also protects against floods of traffic from, for instance, a recursive invalidation of a highly trafficked website.[​![Edit](https://lh3.googleusercontent.com/XVRX59bJfo82y5_tqiBKlBcITZkb6DPNfo4tNbIunmANKyUqH7V1pTl0173uD1ch2lCxzuzp-Tcc7axNaLSTbiCRopH7Fc62ONtRTSVN9lYxRrBjbrIOszoKNzDRaZE3xHpdM8yLhSqaYt1aS3bcLA)](https://soporte.transparentcdn.com/projects/incidencias/wiki/Arquitectura_de_caches/edit?section=2)

#### Layer 1

Layer 1 is comprised of [globally](https://www.transparentedge.eu/en/) distributed servers, which are what initially attend to end-user requests. They act as SSL terminations and cache servers, serving nearly 95% of Transparent Edge.

These Layer 1 servers can be configured to be the origin of all the Layer 2 servers. That way, when an object needs to be refreshed, the Layer 2 servers send the request directly to the Layer 1 servers. [​![Edit](https://lh3.googleusercontent.com/XVRX59bJfo82y5_tqiBKlBcITZkb6DPNfo4tNbIunmANKyUqH7V1pTl0173uD1ch2lCxzuzp-Tcc7axNaLSTbiCRopH7Fc62ONtRTSVN9lYxRrBjbrIOszoKNzDRaZE3xHpdM8yLhSqaYt1aS3bcLA)](https://soporte.transparentcdn.com/projects/incidencias/wiki/Arquitectura_de_caches/edit?section=3)

#### Layer 2 (Mid-Tier)

Transparent Edge's Mid-Tier is designed to act as a funnel and minimize the number of requests that reach our clients’ origin servers. This server layer is distributed across several data centers to ensure high availability, and it is ultimately in charge of talking with the origin web servers.

To better understand the benefits of this architecture, let’s look at an example:

Suppose we only had one layer of 10 cache servers, all of them talking directly with the origin servers. With a smooth flow of traffic, when an object expires it will do so more or less at the same time in all the caches. So each of the 10 servers would send a request to the origin server to refresh the object.

```
Total: 10 simultaneous requests to the origin.
```

Now suppose we add a second cache layer comprised of two servers. This layer will talk directly with the client's servers and with Layer 1. Layer 1 will still have 10 servers and will only talk with the second layer we just added (funnel).

Under the same circumstances of a smooth traffic flow, an object will expire on all the servers at the same time and the 10 servers will request the object from the second cache layer. This layer only will request the object from the origin twice (once per server) because it can serve the other eight requests without having to go get the object from the client’s origin servers. In this case, we are reducing the traffic at the origin by 80%.

```
Total: 2 simultaneous requests to the origin.
```


# Cache effectiveness

The hit ratio is one of Transparent Edge’s most important indicators. It tells us how effectively Transparent Edge is performing and the degree of optimization of a particular website.

You can see the hit ratio on Transparent Edge’s client [portal](https://pulse.transparentedge.eu/).

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-1a0fec8c7a76c234d19f9c129adb43e9dbb86f89%2FCaptura%20de%20pantalla%202026-10-05%20a%20las%2015.25.36.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-b0c884aded926363b8af89df7c18a3590754e54c%2FCaptura%20de%20pantalla%202026-10-05%20a%20las%2015.30.52.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

A hit ratio under 80% needs to be reviewed. However, 80% means that of all the requests and bandwidth of a particular site, 80% are being served from Transparent Edge without going to the client’s origin server. So, only 20% of the requests are going to the web server.

In other words, we are saving 80% on infrastructure costs at the origin.

To learn more about how to improve your hit ratio, have a look at this [entry](https://docs.transparentedge.eu/guias/configurar-mis-servidores-para-enviar-cabeceras-de-cache).


# SSL

When required, Transparent Edge can do SSL terminations by caching requests as if they were in HTTP. In this case, the traffic is sent encrypted between the user and Transparent Edge. The certificate is then decrypted in our caches and all the traffic within the Transparent Edge platform is sent in HTTP. This lets us apply web caching technology to the SSL traffic. The traffic between Transparent Edge and the client's origin server can be sent in HTTP or HTTPS, at the client’s discretion.

By default, we use HTTP2 on tlsv1.2 and tlsv1.3.

## Automatic management of SSL

At Transparent Edge, there are always several different ways of doing something. In this case, we give you two options for serving a secure website.

The first is for you to purchase your certificates from your trusted provider, and once you have them you can upload them to our platform or send us a [ticket](<mailto:support@transparentedge.eu >) so we can do it for you.

To upload certificates to the platform, go to our[ client portal](https://dashboard.transparentcdn.com/), select Provisioning from the left side menu, and then click on **Certificates**.

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-244ab5bb7b10341dd8651ad810b7385c0955a447%2FCaptura%20de%20pantalla%202026-10-06%20a%20las%2010.51.46.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-3c74af2b03cf8d05d9beca7e0fe1895047d20f4b%2FCaptura%20de%20pantalla%202026-10-06%20a%20las%2010.51.18.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

The second, and simpler, option is to leave the entire matter of certificates to us. We’ll take care of sending you valid certificates and renewing them, so you don’t have to do or worry about anything.

#### For this to happen, the domain does have to be pointing to Transparent Edge.

It’s easy: in the Provisioning section of the[ portal](https://pulse.transparentedge.eu/), click on the Sites tab and then on the padlock icon for the website you want to protect with SSL.

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-55576b5dfedc654a2d418691ae4ef90a860363be%2Fcaptura-sites-demo.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-fba4d061f2347bbfb31b4d17d8f169e2f0ebcfbb%2Fcaptura-sites-demo-claro.png?alt=media" alt=""></picture><figcaption></figcaption></figure>


# HTTP 5xx Error Codes

When a[ web server](https://en.wikipedia.org/wiki/Web_server) is not able to process a request or simply isn’t available, your web browser receives a 5xx error response code—or in other words a code between 500 and 599.

These are web server error codes, which are very different from other errors like 404 - Not found, which typically occurs when you request an object that doesn’t exist on the server.

Some of the most frequent error codes are:

* 500 - Internal Server Error
* 502 - Bad Gateway
* 503 - Service Unavailable
* 504 - Gateway Timeout

For technical reasons, CDNs mask all those status codes into a single error code. At Transparent Edge, we use the code 503 for any 5xx server error.

There can be many reasons for a 503 error from the CDN. They are categorized in the response headers and in the HTML code of the error, providing relevant information that can help us discern the error type. These headers begin with TCDN- and all of them end with a numerical value that lets us accurately identify the request. For instance:

```
TCDN-BENG-504:275330054.
```

## List of codes

* **`TCDN-BENG-5xx`** - Backend Error No Grace

The object isn’t in the cache and the origin has responded with a **`5xx`** error not categorized in any of the tags below. The number in the header is the exact error code returned by the origin. For instance: `TCDN-BENG-504`.

* **`TCDN-BENG-Service Unavailable`** - Backend Error No Grace (Network error)

The object isn’t in the cache and a network error ocurred while fetching it from the origin backend.

* **`TCDN-SBPR`** - Sick Backend POST/PUT Request

The request is not cacheable and caused an error at the origin.

* **`TCDN-SBNG`** - Sick Backend No Grace

The origin is marked as sick (its healthcheck is failing) and the object isn’t in the cache.

* **`TCDN-DNF`** - Domain Not Found

The domain was not found; it is not registered in the CDN.

* **`TCDN-NBD`** - No Backend Defined

The domain exists in the CDN but no backend has been assigned to it.

* **`TCDN-OENG`** - *Origin Error No Grace*

> There was an origin error 5xx and we are keeping the original status code from origin without 503 status code masking due the **`X-Show-Origin-Errors`**&#x68;eader.

* **`TCDN-OK`** - No backend error found

The request was delivered successfully.


# Features

{% content-ref url="/pages/-M7mmdSvlmNKKxVHHEcZ" %}
[Protection against origin failures](https://docs.transparentedge.eu/legacy/getting-started/faq/features/protection-against-origin-failures)
{% endcontent-ref %}

{% content-ref url="/pages/-M7wLlFC2r79uP56dU2K" %}
[Rate Limit](https://docs.transparentedge.eu/legacy/getting-started/faq/features/rate-limit)
{% endcontent-ref %}

{% content-ref url="/pages/-M7wHdKA8Tp3rns11QoK" %}
[Geolocation and geoblocking](https://docs.transparentedge.eu/legacy/getting-started/faq/features/geolocation-geoblocking)
{% endcontent-ref %}

{% content-ref url="/pages/-MAk\_dP9cqmOLV1OIYC-" %}
[Prefechting](https://docs.transparentedge.eu/legacy/getting-started/faq/features/prefechting)
{% endcontent-ref %}

{% content-ref url="/pages/-MAkZ8UQEYTEIfOFSApI" %}
[Refetching](https://docs.transparentedge.eu/legacy/getting-started/faq/features/refetching)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vpGpnA3jNg55U4g5H" %}
[Fast purging](https://docs.transparentedge.eu/legacy/getting-started/faq/features/fast-purging)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vhrLEgZ-QPxD4pgMq" %}
[HTTP Redirects](https://docs.transparentedge.eu/legacy/getting-started/faq/features/http-redirects)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mj8zYh6slrL5rHntr" %}
[Caching static vs. dynamic objects](https://docs.transparentedge.eu/legacy/getting-started/faq/features/caching-static-dynamic-objects)
{% endcontent-ref %}

{% content-ref url="/pages/-M7vb30a9wA5bRDNhcPg" %}
[Rewriting of headers](https://docs.transparentedge.eu/legacy/getting-started/faq/features/reescritura-de-cabeceras)
{% endcontent-ref %}

{% content-ref url="/pages/-M7mfyQoRIvWw9fO-82M" %}
[Device detection](https://docs.transparentedge.eu/legacy/getting-started/faq/features/deteccion-de-dispositivos)
{% endcontent-ref %}


# Protection against origin failures

When there are connectivity problems between Transparent Edge’s servers and the client's origin servers—whether due to a service failure or any other problem recovering content from the origin—Transparent Edge will serve an expired version of the content. This will be done for up to a maximum of eight hours or until communication is reestablished between Transparent Edge and the client’s origin servers.

For Transparent Edge to be able to serve that expired content when there are problems, the objects served need to have a cache time (Cache-Control: **max-age**) of over 1 second. In other words, objects marked with non-cacheable headers (No-Store, No-Cache, Private, etc.) will not be served when there are problems, because they don't exist in the cache. So these requests will return an HTTP 503 error.


# Rate Limit

At Transparent Edge, we give you the option to limit the number of requests per second that enter your website. Click this [link](https://docs.transparentedge.eu/legacy/security/waf/rate_limit) to get more details on how it works and how to activate it.


# Geolocation and geoblocking

At Transparent Edge, by default, we geolocate all the requests that pass through our systems by sending a header to the origin with the code for the country where the request was made. This header is Geo\_Country\_Code.

```
geo_country_code: ES
```

We use the [GeoIP2 Enterprise Database](https://www.maxmind.com/en/solutions/geoip2-enterprise-product-suite/enterprise-database) for this functionality, which can detect the country with an accuracy of **99.8%**.

We can send other data provided by this database to the origin in the form of an HTTP header—the city, for instance—but bear in mind that the database can only detect cities with an accuracy of around 75% for Spain. You can check the accuracy data by country[ here.](https://www.maxmind.com/en/geoip2-city-accuracy-comparison)​

The value of the Geo\_Country\_Code header is the country code from the[ ISO 3166](https://www.iso.org/obp/ui/#search) standard.​

If the system is not able to locate the user’s IP address, it sends the Unknown string within the header.

This functionality gives us a range of possibilities for taking into account the end user’s location, such as:

* Blocking/allowing content from certain countries.
* Sending requests to a particular origin based on the end user’s geographic location.
* Serving special content by country.
* Rewriting headers based on the country requests come from.
* Establishing personalized rules based on the value of the header.

To see how to implement geoblocks with this header, click[ here.](https://docs.transparentedge.eu/security/bloqueando-peticiones-geograficamente)​


# Prefechting

Prefetching is a functionality that lets us fetch content before it reaches users. It can be very useful on occasion. Let’s look at two examples:

* Your website sees low traffic, but when a user arrives and requests an object, you still want it to be served by the CDN's cache.
* You’re going to launch your new website and you’re expecting a great influx of visitors, which translates into a high number of requests to the CDN. If the CDN is cold and doesn’t have any objects cached, when you go live a flood of requests to your origin servers could cause systems to collapse.

To find out how to do a prefetch, click this[ link](https://docs.transparentedge.eu/getting-started/dashboard/prefetch).


# Refetching

Refetching is a function through which, after content is invalidated via a PURGE, you force the object to be requested again from the content-invalidation agent running on the CDN nodes.

That way, when a real user request comes in, that object will already be in the cache and you won’t have to go get it from the origin.

You can do a refetch via[ API](https://api.transparentcdn.com/docs) or from our[ dashboard](https://dashboard.transparentcdn.com/), as explained in this[ link](https://docs.transparentedge.eu/getting-started/dashboard/invalidando-contenido).

{% hint style="warning" %}
The BAN invalidation method is not compatible with refetching.
{% endhint %}


# Fast purging

At Transparent Edge, by default, we use fast purging to instantaneously purge content. This system lets us invalidate content on all Transparent Edge nodes in under two seconds.

#### How do we implement fast purging?

It’s quite simple. All Transparent Edge nodes are subscribed to a fanout queue in an internal Rabbit MQ cluster. When it receives a content invalidation message from our[ API](https://docs.transparentedge.eu/v/english/getting-started/faq/glosario/api), the message is immediately consumed by an agent which runs on all our CDN nodes. The agent locally invalidates the requested content at that node.

If you want to find out more about how to invalidate content, click this[ link](https://docs.transparentedge.eu/getting-started/dashboard/invalidando-contenido).


# HTTP Redirects

#### Redirect to HTTPS

When your website runs with SSL, it’s typical to want everything that comes in unencrypted via HTTP to be sent to the secure version to make sure nobody is browsing your website insecurely. To do so, you just have to call `redirect_https`.

```perl
 sub vcl_recv {  
     if (req.http.host == "www.transparentcdn.com") {
         call redirect_https;
     }
}
```

#### Redirects 301 and 302

Redirects can be performed by calling the function \``redirect_request`\`, see [callable functions](https://docs.transparentedge.eu/legacy/config/vcl/callable-functions).

```perl
sub vcl_recv {
    # 301
    if (req.http.host == "example.com" && req.url ~ "^/old-section") {
        # req.http.tcdn-location header is required for this call to work.
        set req.http.tcdn-location = "301, https://www.example.com/new-section/";
        call redirect_request;
    }

    # 302
    if (req.http.host == "example.com" && req.url == "/") {
        set req.http.tcdn-location = "302, https://www.example.com/es/";
        call redirect_request;
    }
}
```

It’s important to understand the implications of the two types of redirects. A 301 is a redirect that, in theory, isn’t going to change, so it gets cached in browsers. If it does eventually change, it’s very complicated to un-cache that resource.

A 302, meanwhile, is a temporary redirect for a resource, so it’s not cached in browsers or intermediate proxies.


# Caching static vs. dynamic objects

We understand static objects to be all objects requested from a server via HTTP or HTTPS protocol that don’t change after they are created. Examples of static objects include images, texts, compressed files (ZIP, TGZ, etc.), style sheets (CSS), JavaScript, XML, etc.

We understand dynamic content to be just the opposite: requests made from a client to a server via HTTP or HTTPS protocol that change with every user iteration. Examples of dynamic content include a bank transaction, a personalization in the HTML of a website, or an online shopping process.

At Transparent Edge, we can cache both static and dynamic content. However, the latter greatly depends on the type of website and how often it is updated.

Let’s take the example of an e-commerce site that has a private user area in the upper-right menu, where a welcome message appears. When you log into the site, you see a page adapted to your shopping preferences. What many e-commerce and similar sites with user personalization do is directly not cache in this area, setting a cache header of zero seconds or sending no-cache in the Cache-Control.

At Transparent Edge, it’s possible to cache all that content if the origin can use a cookie or another header to identify whether or not the user is logged in. So, we could save a cached version of the page for users who aren’t logged in (anonymous browsing) and a different version of the page for every one of the different users who are logged in.


# Rewriting of headers

Because we are based on [Varnish](https://www.varnish-software.com/) Enterprise software, Transparent Edge offers great flexibility when it comes to changing your website’s default behavior.

Rewriting headers is very common and rather easy to do. The most typical cases are:

#### Rewriting the Host header

The typical use case:

```javascript
sub vcl_recv{
  if ((req.http.host == "www.transparentcdn.com") && (bereq.url ~ "/blog")) {
    set http.host == "blog.transparentcdn.com"
    set req.backend_hint = c83_tcdn.backend();
  }
}
```

#### Rewriting the Cache-Control header

```javascript
sub vcl_backend_response {
     if ((bereq.http.host == "www.transparentcdn.com") && (bereq.url ~ "/my-new-url")) {
            set beresp.http.Cache-Control = "max-age=0, s-maxage=10";
            set beresp.ttl = 10s;
    }
}
```

#### Deleting headers

Based on the previous example, we can erase the Cache-Control header that comes from the origin before forcing the cache time.

```javascript
sub vcl_backend_response {    
    if ((bereq.http.host == "www.transparent.com") && (bereq.url ~ "/my-new-url")) {
            unset beresp.http.Cache-Control;
            set beresp.http.Cache-Control = "max-age=0, s-maxage=10";
            set beresp.ttl = 10s;
    }
}    
```


# Device detection

Transparent Edge can use the User-Agent header to determine the type of device that is connecting and categorize it as a desktop, mobile, or tablet. To identify the device, Transparent Edge includes a header called X-Device in both the request to the origin and the response to the client. This header can have three values:

* desktop
* mobile
* tablet

Depending on the value of this header, Transparent Edge saves a version of each object for that device, making it possible to serve different content for each type of device under the same URL. If you want to find out how to do it, we explain it [here](https://docs.transparentedge.eu/guias/cachear-una-version-por-dispositivo).

### Force device

Even if the device is detected, it's possible to, for instance, force a mobile device to display a desktop version. We do this using the Force-Device cookie. If this cookie is present, it takes priority over X-Device.


# Dashboard

The Transparent Edge Dashboard is the tool that allows users to control what's happening to their traffic in real-time and to know the consumptions of all the contracted services.

It can be run via API for the creation of custom dashboards integrated into the client infrastructure with all desired information, and is available in both Spanish and English.

On the main page, users can instantly view all the historical information about the service provided by Transparent Edge.

In the left-hand menu, users have direct access to the different sections that their permissions allow, such as user management, billing or the different services that Transparent provides for the client.<br>

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-1d9385232278687cb112c118efcebe1f37631856%2Fpulse-home-transcoding-ejemplo.png?alt=media" alt=""><figcaption></figcaption></figure>

\ <br>


# Analytics

Analytics gives you a real-time view of everything happening on your traffic: how it's being delivered, how well it's cached, whether anything suspicious is going on, and how your DNS is behaving. You'll find it in the left-hand menu under **Insights → Analytics**.

Depending on your plan, you may not see every report listed below. For example, WAF, Bot Management, AntiDDoS, Backends or DNS analytics are only available if your plan includes those services. If a section you expect to see is missing, reach out to your account manager.

Analytics is organized into different sections, one per area of your traffic:

* **Delivery** — your overall CDN traffic: requests, bandwidth, cache performance, status codes...
* **Midtier** — traffic between your edge nodes and your mid-tier cache layer.
* **Backends** — how your origin servers are performing.
* **WAF** — web application firewall activity.
* **Bot Management** — bot detection and mitigation activity.
* **AntiDDoS** — traffic legitimacy and blocked attack traffic.
* **DNS** — queries received by your DNS zones.

If you're looking for the same data over a longer period (weeks or months instead of the last few hours), check out the [History](https://docs.transparentedge.eu/legacy/getting-started/dashboard/history) section instead — it shares the same sections but with a longer retention window.

### Getting around Analytics

Every section of Analytics (Delivery, Midtier, Backends, WAF, Bot Management, AntiDDoS, DNS) shares the same building blocks, so once you're comfortable with one, you're comfortable with all of them.

The filters panel sits at the top of every section and has two tabs: **Quick selection** and **Other filters**. Use the collapse icon in the top-right corner of the panel to hide it and give the charts more room.

**Quick selection**

This is where you decide *when* and *which sites* you want to look at:

* **Time range** — pick a preset (**15m**, **30m**, **1h**, **8h**, **24h**, **7d** or **1M**) or choose **Custom** to set your own range.
* **Sites** — open the dropdown to pick one or more of your sites (you can type in the search box to find one quickly). **All** selects every site and **None** clears the selection.

**Other filters**

Need to go further than a time range and a site? The **Other filters** tab lets you narrow the data down by as many conditions as you like. The number next to the tab name tells you how many filters are active.

To add one:

1. Click **Add filter** and choose a field from the list (for example *Country Code*, *HTTP Method*, *IP Address*, *User Agent*, *Referer*, *Cache Status* or *Status Code*). You can type in the search box to find a field faster. Fields you've already added are marked as such, but you can still use them in another row.
2. Choose whether the filter **includes** or **excludes** that traffic with the **is** / **is not** switch:
   * **is** (green) — show *only* traffic that matches.
   * **is not** (red) — *hide* traffic that matches. It's useful, for example, to leave out your own monitoring traffic or a country that isn't relevant to you.
3. Set the value. Depending on the field you'll type it and press Enter (you can keep adding more values with **Add another…**, as in the country codes `ES` or `US`), or pick from a ready-made list of options (for instance GET, POST, PUT... for *HTTP Method*, or Hit, Miss and Pass for *Cache Status*).

You can combine several filters, including the same field more than once. For example, **Country Code is ES** together with **Country Code is not US**. To remove one, click the trash icon (🗑) at the end of its row.

**Applying and resetting**

Nothing changes in the charts until you click **Apply Filters**, so you can set up everything first and update the data in one go. Made a mess? **Reset Filters** puts everything back to its default.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-52da46e94c576aba2fa0a4fb68a7800d30e7e3c4%2FCaptura%20de%20pantalla%202026-10-26%20a%20las%2011.03.49.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Customizing your dashboard

Click the settings icon in the top-right corner to open **Customize Dashboard**. From here you can:

* Toggle any widget on or off.
* Drag widgets to reorder them.
* Use **All** / **None** to show or hide everything in one click.

Your layout is remembered, so you only need to set it up once per report.

#### Sharing a snapshot

Need to send a colleague exactly what you're looking at, filters and all? Click the share icon (⤳) to open **Manage Snapshots**. Creating a snapshot generates a read-only, shareable link with your current filters and visible widgets baked in — it's copied to your clipboard automatically. You can create as many snapshots as you need and revisit them later from the same panel.

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-744f2fd974df81fd3a098cf0b8aa8a2944deb1a3%2FCaptura%20de%20pantalla%202026-10-06%20a%20las%2014.01.15.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-3580b30dbb6eb9559c540c217df21ae6ca828825%2FCaptura%20de%20pantalla%202026-10-06%20a%20las%2014.00.13.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

#### Digging into a table row

Most tables (Countries, IPs, HTTP Methods, User Agents, Content Type, Protocol, Referers...) have a small filter icon on the right of each row. Click it to instantly filter the whole report down to that value — for example, click the filter icon next to a country to see only that country's traffic.

### IP Address table

The IP address table shows the IPs from where the requests are sent. Each row in the table represents a source IP address and provides information about the number of requests, bandwidth consumed, its risk level, and the available actions to manage it.

**IP:** Source IP address of the requests. A colored dot provides a visual indication of the risk level.

**Risk:** Risk score of the IP address (0–100). A score of 0 indicates no known risk.

**Requests:** Number of requests received from the IP address and its percentage of the total traffic.

**Bandwidth:** Volume of data transferred from the IP address and its percentage of the total bandwidth.

**Actions:** Three action buttons: IP details, block/allow, and filter.

#### **IP Information**

Clicking the **IP Information** button opens a modal with a comprehensive analysis of the selected IP address, including geolocation, network information, risk score, and threat analysis.

The **Threat Analysis** section is arguably the most relevant from a security perspective. It consolidates abuse reports, threat intelligence sources, and behavioral flags associated with the IP address.

***

### Delivery

Your main traffic report — the one you'll probably check most often. It answers the basic questions: how much traffic am I getting, how well is it being cached, and is anything going wrong?

**At a glance:** Efficiency score, total traffic, requests per second, and cache ratio (split by requests and bandwidth).

**Charts:** requests, bandwidth, status codes (split into 3xx/5xx so you can spot problems fast), hit ratio, response time, and purges over time.

**Breakdown tables:** which sites and URLs are driving traffic, status codes, cache hit/miss/pass detail, countries (on a map), IP addresses, HTTP methods, user agents, content types, protocols, referrers, debug reasons, and JA3 fingerprints.

**What's "Hit Ratio Details"?** It shows exactly how many requests were served from cache (**Hit**), had to go to your origin (**Miss**), or bypassed the cache entirely (**Pass**) — useful for spotting caching issues quickly.

### Midtier

Same idea as Delivery, but for the layer between your edge nodes and your origin. Useful when you want to understand how traffic behaves *before* it reaches Delivery, especially for multi-tier caching setups.

### Backends

Focused entirely on how your origin servers are performing under the CDN. Beyond requests and bandwidth, you'll find origin-specific detail:

* **Origin** and **ASN** breakdowns — which backends and which networks are generating the load.
* **Cache-Control** and **Vary** header usage — a quick way to check your origin is sending the caching headers you expect.
* Low-level timing metrics: **t-fetch** (time to fetch from origin), **t-process**, **t-berespbody**, **t-beresp** — handy for backend performance troubleshooting.

If you see "No data available", try widening your time range or checking your filters — it usually just means there was no backend traffic in that window. {% endhint %}

### WAF

Shows what your Web Application Firewall has been blocking: positives by site, by geographic origin (on a map), which payload rules are triggering, and which URL paths are most targeted. Use the **Reports** button in the top-right to generate a formatted report.

### Bot Management

Shows bot-detection activity: which countries, sites, IPs, URLs, crawlers, and user agents are triggering bot assessments. Uses the same IP table with block/unblock/details actions described above — handy for reacting to unwanted bot traffic on the spot.

### AntiDDoS

Tracks traffic legitimacy at a glance: number of sites, IPs, countries, ASNs and user agents involved, plus a **Legitimate vs Blocked** traffic chart so you can see attack traffic as it happens. Also includes Accept-Language, Accept-Encoding, request paths, and JA3 fingerprints — useful fingerprinting data when investigating an attack.

{% hint style="info" icon="lightbulb-on" %}
**Downloading historical IP data:** click **Reports → Download IP History** to export the IPs seen over a custom date range (up to 31 days). Note that IP history is computed daily, so today's IPs won't be included until tomorrow.
{% endhint %}

### DNS

If you use Transparent Edge for DNS, this report shows queries received per domain, broken down by record type (CNAME, TXT, MX, etc.) with both a table and a donut chart, plus a timeline of query volume. Pairs well with the DNS Delegation configuration section if you're setting up or troubleshooting a DNS zone.

{% hint style="info" %}
Remember that everything you can do from our [dashboard](https://dashboard.transparentcdn.com/auth/login?redirect=%2F), you can do from our [API](https://docs.transparentedge.eu/v/english/guias/api).
{% endhint %}


# History

While Analytics is built for watching what's happening right now, **History** is where you go to look back — days, months, even your entire history with Transparent Edge. Same underlying data, longer memory. You'll find it under **Insights → History**.

Like Analytics, History is split into one report per area of your traffic:

* **Delivery** — historical requests, bandwidth, and cache performance.
* **Midtier** — historical mid-tier cache traffic.
* **Storage** — historical storage consumption.
* **WAF** — historical firewall activity.
* **Bot Management** — historical bot detection activity.
* **i3** — historical image processing / transformation activity.
* **Transcoding** — historical video transcoding activity.
* **DNS** — historical DNS query volume.
* **IP Info** — historical IP-related data.

Which reports you see here depends on your plan. If a service isn't part of your contract, its report won't show up in the menu.

### Getting around a report

History shares several elements with Analytics so if you already know how to use Analytics, you'll find History familiar.

#### Choosing your time range

Instead of short presets like 'last 15 minutes', History gives you **Quick Selection** options built for the long view: *Last week, Current month, 3 months, 6 months, Current year,* or *All history*. You can also pick a custom date range directly, and narrow things down to specific sites. Click **Apply Filters** when you're ready, or **Reset Filters** to start over.

#### Customizing your dashboard

Same as in Analytics: click the icon to open **Customize Dashboard**, where you can show/hide widgets and drag them into the order that makes sense for you.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-d6ea12dca506935b21448ab5191e2f68c65b7eb1%2FCaptura%20de%20pantalla%202026-10-26%20a%20las%2014.13.25.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Monthly Consumption

Most History reports include a **Monthly Consumption** table a simple month-by-month breakdown of your usage (e.g. requests). Each row can be downloaded individually or filtered further. This is the easiest way to answer "how much did we use last month?" without digging through charts.

### Delivery

Historical view of your overall delivery traffic: requests per second, bandwidth, status codes (broken down by 2xx/3xx/4xx/5xx), and hit ratio, all over the time range you choose. Use this when you need to compare, say, this month against last month, or pull numbers for a report.

### Midtier

The historical counterpart to Analytics' Midtier report — requests, bandwidth, status codes and hit ratio for your mid-tier cache layer over time.

### Storage

Historical consumption of any storage service tied to your account.

### WAF

Historical view of firewall activity — how many requests were flagged over time, useful for spotting trends (e.g. a gradual increase in attack attempts) that are hard to see in the shorter Analytics window.

### Bot Management

Alongside the usual requests-over-time chart, this report includes an **Assessment Reason** breakdown (as a donut chart): how many requests were flagged as *Positive*, led to a *Show captcha*, were *Captcha passed*, ran in *Bypass mode*, or were *Blocked* outright — with both percentages and raw counts. Also includes the Monthly Consumption table described above.

### i3

Historical activity for image processing (resizing, format conversion, etc.) — see the i3 section for details on what each transformation does.

### Transcoding

Historical activity for video transcoding jobs — see the Transcoding section for how transcoding works.

### DNS

Historical query volume for your DNS zones, broken down by record type.

### IP Info

Historical log of IP-related lookups and events.

### Limit Alerts (consumption alerts)

Rather than checking History manually to make sure you're not about to go over a limit, you can set up an alert and let Transparent Edge notify you instead.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-c3b31ab6c0d6eb24d26b4d06fa41c3908dea2e82%2FCaptura%20de%20pantalla%202026-10-26%20a%20las%2014.10.18.png?alt=media" alt=""><figcaption></figcaption></figure>

From any History report, click the alert icon in the top-right corner to go to **Limit Alerts**. From there:

1. Click **New alert**.
2. Set your **Threshold** — the value that, once crossed, should trigger a notification (e.g. a bandwidth limit in Gb).
3. Under **Notifications**, click **Add channel** and choose where you want to be notified.
4. Click **Create alert**.

Once created, your alert appears in the Limit Alerts list, showing whether it's active, its threshold, when it last notified you, and through which channels — and you can edit or remove it at any time.

This is the direct evolution of the old "Consumption Alerts" feature — same purpose (get warned before you go over your limit), now managed from its own dedicated page instead of a button on a single report.

{% hint style="info" %}
Remember that everything you can do from our [dashboard](https://dashboard.transparentcdn.com/auth/login?redirect=%2F), you can do from our [API](https://docs.transparentedge.eu/v/english/guias/api).
{% endhint %}


# Sites Overview

Sites Overview gives you a single-page health check for any of your sites — traffic, security, and configuration status, all in one place, without having to jump between different sections of the dashboard. You'll find it under **Insights → Sites Overview**.

This is a new addition to the panel — there's no direct equivalent in the previous dashboard, though it pulls together information that used to live scattered across Analytics, WAF, Bot Management, and configuration screens.

### How to use it

Pick a site from the dropdown at the top of the page. The rest of the page updates to show that site's current status, split into four blocks:

#### Health

* **Certificate** — whether the site has a valid SSL/TLS certificate, or is being served over HTTP only. If you don't have one yet, you'll see a direct link to request one.
* **Tunnel** — whether the site has a tunnel bound to it.
* **Backends serving it** — whether backend traffic has been recorded for this site in the last 24 hours, with a link to the full backend analytics.

{% hint style="info" %} Some of these indicators may appear differently depending on your plan — for example, if a feature like Tunnels isn't included in your contract, you may see an option to enable it rather than its current status. {% endhint %}

#### Traffic · Last 24h

Four key numbers, each with a mini trend graph: **Requests**, **Bandwidth**, **Cache hit** (%), and **Error rate** (%). Click **Open in Analytics** to jump straight into the full Delivery report for this site, filtered and ready to go.

#### Security

* **WAF positives** — how many requests were flagged by the firewall in the last 24 hours.
* **Bot Management** — whether bot detection is enabled for this site.
* **Under Attack** — whether Under Attack mode is currently active for this site.
* **Anomaly detection** — how many tiers (Delivery, WAF, Bot Mitigation...) are currently being monitored for anomalies on this site.

Each card links directly to where you'd go to change that setting (e.g. "WAF analytics", "Configure bots", "Under Attack mode", "Set up monitoring").

#### Configuration

* **Easy Setup rules** — how many rules currently target this site, or a note that it's using company-wide defaults.
* **API Protection** — whether an API schema is being enforced for this site.
* **Safe Routes** — how many safe routes are defined.
* **DNS zone** — whether a delegated DNS zone covers this site.

As with Security, each row links to the corresponding configuration page so you can act on it right away.

### Why it's useful

Think of it as your first stop when checking on a site — especially a new one. In a few seconds you can tell whether it's fully configured and protected, or whether something (a missing certificate, no WAF activity, an unconfigured API schema) needs your attention, without having to visit half a dozen different pages to find out.


# Provisioning

The following sections explain how to manage the provisioning platform offered by Transparent Edge.

{% hint style="info" %}
Remember that every single task you can do from our [dashboard](https://dashboard.transparentcdn.com/) can also be accomplished from our [API](https://docs.transparentedge.eu/legacy/getting-started/faq/glossary/api).
{% endhint %}


# Initial steps

After activating our user account, you will be able to access the Transparent Edge panel through the URL [https://pulse.transparentedge.eu/](https://pulse.transparentedge.eu/login) using your username (registered email) and password defined during the registration process.

### Configuring the Backend

The backend must first be defined. +This is the external server (host) where the website that we are configuring on the auto-provisioning platform is currently hosted. At CDN level, the backend is your origin.

The following data are required for the correct configuration of the backend:

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-13fb16748e8b15279c97fc7ab2d3944f93af25f1%2FCaptura%20de%20pantalla%202026-10-26%20a%20las%2014.54.06.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Name:

You must provide a descriptive name for the backend.

This name will be used in the different VCL (Varnish Configuration Language) configurations indicated later. It is preceded by the prefix `c[company_id]_`, where `[company_id]` is your unique user identifier in the Transparent Edge Services auto-provisioning platform.

For example, a backend name could be: `cNNN_example`.

#### Origin

This is the public IP of the external server where the website is currently hosted.

If you have a domain name for that server, it can also be used instead of its IP. The only restriction is that the domain name for the origin cannot be the same as the one used later in the website configuration.

For example, an origin domain name could be: source.example.com.

#### Host

Header of the host associated with the health check and TLS SNI.

This is an optional field, so it can be left blank or it can contain any value accepted by the origin server.

For example, a valid associated host header could be: health\_check.example.com.

#### SSL Encryption

This checkbox is ticked to indicate that communications with the backend must be encrypted.

#### Port

This complements the previously established origin IP or domain name.

It is the port through which the connection to the origin will be established.

Generally, if the connection is unencrypted, the HTTP (Hypertext Transfer Protocol) will be used, the standard port of which is 80. However, if an encrypted connection is required, HTTPS (HTTP Secure) will be required, the standard port of which is 443.

#### Health check

A health check must be configured to monitor the backend status. The following variables are required for this purpose:

#### Verification URL

This is the URL that the health check will verify.

For example, a valid verification URL could be: /verify.

#### Status code

Expected status code for the health check verification.

For example, a status code for the health check verification could be 200; this is the most common (status code: OK), although there is no restriction on this. For instance, a response code 301 (status code: MOVED PERMANENTLY) is also possible.

### Domain Registration

After completing the data related with the backend configuration, the website to be associated with that backend must be registered. This is done in the next step by clicking on "Add site".

Let's see this with an example domain: `www.example.com`.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-716baf9a1843d059f7ed0b0d9aab07c634942ede%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%208.41.42.png?alt=media" alt=""><figcaption></figcaption></figure>

To ensure the indicated website belongs to us, we will be asked to place a file named `tcdn.txt` in the root directory of the website with a specific content (the verification code), so that a request of the type `http://www.example.es/tcdn.txt` returns the text previously provided.

Alternatively, we can create a TXT record with the name "`_tcdn_challenge`" and the verification code content.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-621f87e3374fbd1351f1f7b37ae9a8b14f19783f%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%208.42.53.png?alt=media" alt=""><figcaption></figcaption></figure>

If you encounter any problems or doubts in this regard, you can contact Transparent Edge via email at [soporte@transparentedge.eu](mailto:soporte@transparentcdn.com).

### VCLs

Once the information regarding both the backend and the domain (site) has been completed in the configuration wizard, an excerpt with the generated VCL (Varnish Configuration Language) configuration will be displayed.

VCL (Varnish Configuration Language) is simply a script language used to configure and add logic to the Varnish cache.

For example, the backend and site values previously referred to would result in the following VCL configuration:

```

sub vcl_recv {
    if (req.http.host == "www.example.es") {
        set req.backend_hint = cNNN_ejemplo.backend();
    }
}
```

As can be seen, this is just an initial configuration that links the backend `cNNN_example` with the site `www.example.es`. This link can also be made through [**Easy Setup** ](https://docs.transparentedge.eu/legacy/getting-started/dashboard/provisioning/configuration)in a simpler way. This allows the CDN to retrieve non-cached resources (MISS).

You can end the wizard here and complete the VCL configuration later.

### Summary

Finally, the configuration wizard will inform you of the modifications you will need to make in the DNS settings to point to the domain previously indicated in the CNAME (Canonical NAME) record of Transparent Edge.

For example, our assigned CNAME record would be: `caching.cNNN.edge2befaster.net.`

You can find this CNAME record in both the activation email and at the top of the Auto-provisioning panel.

{% hint style="info" %}
Remember that every single task you can do from our [dashboard](https://dashboard.transparentcdn.com/) can also be accomplished from our [API](https://docs.transparentedge.eu/legacy/getting-started/faq/glossary/api).
{% endhint %}


# Configuration

Our dashboard provides two configuration methods. The first one, **Easy Setup**, is a simple rule engine that allows you to configure the system without dealing with VCL code. The second option gives you the ability to **write your VCL code**, enabling a more detailed customization of the system’s behavior.

### **Easy Setup**

Our easy setup allows you to perform key actions on your sites in a simple and agile way. It is based on 'if-then' conditional logic. To use it, you need to define a rule with a set of conditions and a specific action for those conditions.

You can find more information about this type of setup [here.](https://docs.transparentedge.eu/legacy/config/easy-setup)

### **Write your VCL code**

Our CDN uses a modified version of the Varnish Configuration Language (VCL), a powerful language that will enable you to customize your site behavior.

A table will be displayed with the history of all configurations.

The current and active configuration is the one marked with a green tick under the "Status" header. You can see when that configuration took effect under "Deployment date".

You can perform the following actions on any of the configurations:

* **`View`** - Opens a read-only view of the configuration, where you can check the code and compare with other configurations.
* **`Duplicate`** - Opens an editor to deploy a new configuration prefilled with the code of this particular configuration.
* **`Back to production`** - A quick way to deploy an older configuration again, it's a "rollback" button.

#### Deploying a new configuration

To deploy a new configuration, click on the "ADD VCL CONFIG" button or, if you want to edit over an older configuration, use the "Duplicate" button instead.

An editor will be displayed where you can edit the VCL code or you can copy it to your favorite editor and paste it later.

**AI Assistant**

Within the **new configuration creation modal**, an **AI assistant** is included that allows you to generate **VCL code** based on a description of the desired behavior.

The assistant translates the request into VCL code, which can then be **copied and pasted into the VCL editor** below, where the user can **validate it, modify it manually if needed, and deploy the configuration**.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-0c1a23feed03d798476ddd74451a49a40311c0f6%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%209.58.07.png?alt=media" alt=""><figcaption></figcaption></figure>

The editor embeds some autocompletion that can be activated using the `CTRL` key.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-c2235a9591a994b1181f4299dc1cd8836ef3f06d%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2010.06.41.png?alt=media" alt=""><figcaption></figcaption></figure>

When you're done editing the configuration, click on "Save". The configuration will be checked for syntax errors and, if any are present, an error will be shown. For example, here we tried to use `req.http` in the `vcl_backend_response` subroutine which only accepts `bereq.http` and `beresp.http`:

Otherwise, if the code is correct. the deployment will be queued and a clock will be displayed in the status of that configuration. Deployments usually take between 2 and 7 minutes to fully propagate.

{% hint style="info" %}
Remember that everything that you can do on our dashboard is available on our [API](https://api.transparentcdn.com/docs).
{% endhint %}


# Backends

In this section, you'll be able to view/add/edit or delete backend configurations.

Provisioning -> Backends

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-30752d1ea79f322b7e2a1e853ebb4abc17a4bee5%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.20.18.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-e4aa58cdbfd6f1f4cb3758abaaeb7b0e85984269%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.19.51.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

A backend (or origin server) is a server identified by an IP address or DNS name. This is where your CDN will fetch your content.

{% hint style="danger" %}
It's extremely important that all the output IPs from the CDN are able to reach the backend server, which means that any firewall or any other protection in your backend must allow for those IPs, which can be queried with [this endpoint](https://api.transparentcdn.com/v2/companies/ipranges).

The actual IP of the client visiting your site will be displayed in the True-Client-IP HTTP header.
{% endhint %}

{% hint style="info" %}
Remember that you don't need to create a new backend per site, and if two or more sites share that same backend then it can be shared.
{% endhint %}

### Backend configuration

The following options are required when creating or editing a backend.

<table><thead><tr><th width="265">Option</th><th width="477">Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>A descriptive and unique name for the backend.</td></tr><tr><td><strong>Origin</strong></td><td>The origin server IP address or DNS name.</td></tr><tr><td><strong>Host</strong></td><td>The host header to send to the backend server, for example if your backend server is running Apache, it would be the <code>ServerName</code> or <code>ServerAlias</code> value, for example: <code>www.example.com</code>.</td></tr><tr><td><strong>SSL</strong></td><td>True if the connection is encrypted with (HTTPS).</td></tr><tr><td><strong>Port</strong></td><td>Port number where the origin server is listening for http/s connections, usually 80 or 443.</td></tr><tr><td><strong>Healthcheck - URL</strong></td><td>The URL where the healthcheck will send the request. The URL should point to a very lightweight resource that never changes, for example an empty txt file in your webserver.</td></tr><tr><td><strong>Healthcheck - Status code</strong></td><td>The expected status code. If the backend server answers with any other code, the backend will be marked as unhealthy and non-cached content will fail.</td></tr></tbody></table>


# Sites

In this section, you'll be able to view/add or delete the sites managed by our CDN.

Provisioning -> Sites

<figure><picture><source srcset="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-0f09ac133e388639f06c52bf7f8c05e8afb930d4%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.28.04.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-95f33378ea213cf1cdf543931eef27313fe24412%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.28.14.png?alt=media" alt=""></picture><figcaption></figcaption></figure>

{% hint style="info" %}
An important notice that you can see in this section is the CNAME where you must point your sites to your DNS configuration.
{% endhint %}

### Adding a new site

Adding a new site requires a verification of ownership of the domain being added, which is a security measure. If you have any doubts or need assistance, don't hesitate to contact our support <help+cdn@transparentedge.eu>.

The verification process can be carried out in two ways:

**Verification via HTTP request**

You must create a `tcdn.txt` file at the root of your site with the verification code provided by the system. Once done, through the URL we provide you can check that the verification code appears in it. DNS can only be modified once this verification has been completed.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-621f87e3374fbd1351f1f7b37ae9a8b14f19783f%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%208.42.53.png?alt=media" alt=""><figcaption></figcaption></figure>

**DNS record verification**

In this case the system provides a unique code or text that must be copied. With it, you need to add a new TXT record in the place where the domain management is carried out. This way our system will query your domain's DNS and confirm that you are the owner by finding said record.

### Delegate the rest of the configuration?

From this point on, if you wish, we can take care of everything else.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-684e2d00912d889da2c51d7e85bcb7b25621e6e7%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.35.01.png?alt=media" alt=""><figcaption></figcaption></figure>

\
If you choose to do so, we will automatically locate where your current backend is, create a new one on the platform, set up the configuration to associate that site with that backend, generate and upload an SSL certificate automatically. So that all you need to do is update your DNS records.

We will also handle the backend configuration through VCL settings, specifying the origin server where your website is hosted, and set up the HTTP to HTTPS redirect.

{% hint style="warning" %}
In the event that your site has not been verified within 24 hours after having selected this option, all the configuration created automatically will be deleted.
{% endhint %}

**What if my domain is on another CDN?** You will simply need to confirm the CDN migration and we will take care of everything else.

If you choose to do it yourself, remember that it is important to carry out the same steps manually.

### Relocate site

When relocating a site, it is transferred from the current company to a target company. To do so, click the Relocate button and select from the dropdown the company you want to move the site to. Once confirmed, the site will be associated with the new company.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-2bfe9b195d836abb056522a795af444ab86546f0%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2011.36.12.png?alt=media" alt="" width="241"><figcaption></figcaption></figure>

### What is the lock icon next to my sites?

If the padlock appears open, your site does not have an SSL certificate configured. If it appears closed and green, your site has a valid HTTPS configuration. By clicking on the open padlock, you can [configure a certificate for your site.](broken://pages/-M7bTlPsvnGI-h2BPPes)

### I can't verify my site / I have to add a lot of sites at once

If you have any problems adding new sites, please contact our support. We can add sites in bulk and/or bypass the verification if there are any issues: <help+cdn@transparentedge.eu>.


# Network ACLs

{% hint style="info" %}
You can check more about how to configure a Network ACL [here](https://docs.transparentedge.eu/legacy/config/network-access-control-list)
{% endhint %}

## How to use a Network ACL in Auto Provisioning

First, take note of the name of the Network ACL, for example `acl_c4_mylist`.

Now, create a new VCL configuration cloning the last one.

Modify and adapt one of the below examples for your use case.

### Deny list example

```perl
# Deny list example
sub vcl_recv {
    if (req.http.host == "www.mydomain.com") { # any required condition to trigger the ACL check
        if (aclplus.match(client.ip, network_acl.get("acl_c4_mydenylist", "none"))) {
            # Any action is allowed here, for this example we block the request
            call deny_request;
        }
    }
}
```

Use the following conditional to combine multiple deny lists together:

```perl
if (aclplus.match(client.ip, network_acl.get("acl_c4_deny1", "none"))
        || aclplus.match(client.ip, network_acl.get("acl_c4_deny2", "none"))
   ) {
    # Block the request if the IP is present in any ACL
    call deny_request;
}
```

### Allow list example

Here we just inverted the condition to transform this into an allow list (only the IPs present in the ACL will be accepted)

```perl
# Allow list example (we just inverted the condition, notice the '!')
sub vcl_recv {
    if (req.http.host == "www.mydomain.com") { # any required condition to trigger the ACL check
        if (!aclplus.match(client.ip, network_acl.get("acl_c4_myallowlist", "none"))) {
            # Any action is allowed here, for this example we block the request (if the IP doesn't match the ACL)
            call deny_request;
        }
    }
}
```

Use the following conditional to combine multiple allow lists together:

```perl
if (!aclplus.match(client.ip, network_acl.get("acl_c4_allow1", "none"))
        && !aclplus.match(client.ip, network_acl.get("acl_c4_allow2", "none"))
   ) {
    # Block the request if the IP is not present in any of the ACLs
    call deny_request;
}
```


# Certificates

In this section, you'll be able to review the existing certificates, edit them or add a new one.

You can manage your certificates in three ways:

* [Custom](#custom-certificates)
* [Autogenerated HTTP](#autogenerated-http-certificates)
* [Autogenerated DNS](#autogenerated-dns-certificates)
* [Autogenerated DNS by CNAME](#autogenerated-dns-certificates-by-cname)

A custom certificate is the one that you already possess and want to import to the CDN, and for which you are responsible for keeping updated.

Autogenerated certificates are managed by our CDN and are renewed automatically.

{% hint style="info" %}
After a certificate is generated (or uploaded if it's a custom one), deployment can take up to 5 minutes.
{% endhint %}

### Custom certificates

If you already have a digital certificate for your domain, you can easily import it to the CDN. All you need is the certificate in [PEM](https://en.wikipedia.org/wiki/X.509) format.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-83beaf7d0557deee5ca11a0d688d9c589953c746%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2016.25.37.png?alt=media" alt=""><figcaption></figcaption></figure>

To import a certificate, you must have two files: one with the full chain of the certificate and another with the private key, both coded in Base64 (normally with the extension .pem or .crt). Many certificate providers often give several format options when the certificate is downloaded.

You'll know if the format is correct if you can see the fields “BEGIN CERTIFICATE” and “END CERTIFICATE” when opened in a text editor.

If you must concatenate the full chain of the certificate yourself, the correct way of doing so is as follows:

```
-----BEGIN CERTIFICATE-----
(Primary certificate: your_domain.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Intermediate CA: your_CA.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Root certificate: TrustedRoot.crt)
-----END CERTIFICATE-----
```

```
-----BEGIN PRIVATE KEY-----
(Private key: your_domain_private.pem)
-----END PRIVATE KEY-----
```

If everything is OK, log in to our dashboard.

**Provisioning > Certificates > New > Custom cert**

A window will be display where you'll be able to paste the contents of the public and private key of your certificate.

Now click on "Create". If the certificate is correct, it'll be added to your account and you'll be able to see it in the table along with the rest of the certificates. Alongside this, a process will be triggered to deploy that certificate in the CDN. This process takes no longer than 5 minutes, after which the domains matching that certificate will automatically use it.

The renewal process is easy, and the date on which the certificate will expire can be viewed in the dashboard so that it can be planned in advance (you will also receive e-mail notification). It basically consists of editing the current certificate (by clicking on the pencil icon).

{% hint style="warning" %}
Only custom certificates can be edited directly; all the other types (autogenerated HTTP and autogenerated DNS) can only be viewed or removed from your account, as they're managed and renewed internally.
{% endhint %}

### Autogenerated HTTP Certificates

This type is managed by the CDN, and both their initial expedition and further renewals are automatic provided one basic requirement is met: the domain must point at DNS level to the CDN.

To obtain a new certificate, a "Certificate Request" must be created:

#### Provisioning > Certificates > New > Certificate request (HTTP challenge)

Select the domains that will form part of the certificate. Optionally, you can check the "Standalone" option, which will make sure that this certificate will not merge with other HTTP certificates on your account. We recommend leaving this unchecked if not strictly necessary.

When you click on "Create", a new "Certificate Request" will be expedited and displayed in the request log, where you can consult the status of your request.

#### Provisioning > Certificates > Options > HTTP Requests History

You can consult the request log at any time.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-db9d68af63766037bfd1091dec382d30eccd1da5%2Fcertificates-requests-history-example.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Provisioning > Certificates > Request History

### Autogenerated DNS Certificates

This type is also managed by the CDN, and the main difference is that the certificates are generated through a DNS challenge.

This means that the domains do not necessarily have to point to the CDN and it has one big advantage: [wildcard](https://en.wikipedia.org/wiki/Wildcard_certificate) certificates can be requested.

Requirements:

* A compatible DNS provider (you can check the list of providers supported in the credentials management section that will be explained below)
* Possess the required keys to updated DNS records

If you have delegated the DNS to Transparent Edge, you don’t have to have any key and the above requirements are automatically met. All you have to do is create a credential with the "[Transparent Edge DNS](#if-your-dns-provider-is-transparent-edge)" provider.

#### 1.1 Credentials - (example with AWS Route53)

First of all, create the necessary credentials to update DNS records in your provider. In this example AWS Route53, or at least, the necessary record, which in our example would be `_acme-challenge.example.com`.

**Provisioning > Certificates > DNS Credentials Manager**

A table will be displayed with the current credentials. Click on the "New Credential" button.

Enter an alias to identify this credential and select the DNS provider, in this example "AWS (Route53").

The necessary fields for the credential will be displayed automatically, which differ among providers – check your provider documentations or contact us in case of doubt.

When you're done, click on "Create".

You can edit or delete credentials in this same section. Remember that the renewals of the certificates generated with the DNS challenge will use the credentials assigned with the values they have at that time.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-51cfbf6073c9477383587265281e6e9717ed4fc8%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2013.41.34.png?alt=media" alt=""><figcaption></figcaption></figure>

#### 1.2 New certificate request with DNS challenge - (example with AWS Route53)

Now that we have the required credentials, we will create the certificate request:

**Provisioning > Certificates > New > Certificate request (DNS challenge)**

A wizard will be displayed in which you must enter the domains to be included in the new certificate. In this example, the following must be entered on individual lines:

```
example.com
*.example.com
```

In the next section, select the credential to be associated with this “DNS certificate request”, remembering that these requests are permanent and are reused when the certificate is renewed. Therefore, if the credentials change, these must be updated accordingly.

Once the certificate request is created, a table will be displayed containing the active DNS requests and where the request status can be consulted.

If the certificate is generated, it will be displayed automatically in the table in the certificates section.

#### If the DNS provider is Transparent Edge

If you've delegated the DNS management of your domain to our CDN, you won't need to provide any credentials upfront, although you will have to create a credential object with our provider to attach it to the Certificate Requests. Follow the usual steps to create a new credential and select `Transparent Edge DNS`.

### Autogenerated DNS Certificates by CNAME

This method works like the Autogenerated DNS Certificate but it leverages on a CNAME or alias to validate against [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment).

{% hint style="info" %}
This method is easier and more secure than standard DNS validation with API credentials to a DNS provider, but links the ACME validation to our CDN. If you plan to use ACME validation externally, use one of the other methods or export the generated certificates from our CDN using our dashboard or our API.
{% endhint %}

No secrets required, but you will need to create a "CNAME Verification" type credential:

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-bf06f8a1f22e705c5fbdcb21f06b24dba234a8dc%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2013.42.43.png?alt=media" alt=""><figcaption></figcaption></figure>

The CNAME that you will need to point to your domains to will be displayed, which will be the same for all the domains, but different per company, for example:

`5fb5c7b9ef2b82.tls-validation.edge2befaster.net`

Now, if you want to create a certificate for:

```
example.com
*.example.com
test.example.com
```

You'll need to create two CNAME records (because the wildcard \*.example.com and example.com validate in the same DNS record)

```
_acme-challenge.example.com       CNAME   5fb5c7b9ef2b82.tls-validation.edge2befaster.net
_acme-challenge.test.example.com  CNAME   5fb5c7b9ef2b82.tls-validation.edge2befaster.net
```

Once you have the CNAMEs in place and they've replicated, create a certificate request:

#### Provisioning > Certificates > New > Certificate request (DNS challenge)

When asked to provide a credential, select the alias that you gave to the "CNAME Verification".

### Error obtaining a certificate

If certificate generation fails, an error message will appear either in the HTTP Requests History or in the Active DNS Requests, depending on the certificate challenge type. If the error message does not provide enough information, please reach out to our support team for assistance in diagnosing the issue.

For domains or subdomains with **`CAA` records**, ensure that “`letsencrypt.org`” is allowed, as it is the default Certificate Authority. You can find more details on configuring `CAA` records [here](https://letsencrypt.org/docs/caa/).


# API Protection

If your site exposes an API, **API Protection** helps you safeguard it from malicious activity and ensure secure access. You describe how your API is supposed to work by giving Transparent Edge its **OpenAPI or Swagger schema**, and the protection is enabled for the site you choose.

You'll find it under **Configuration → Provisioning → API Protection**.

API Protection is configured per site. In Sites Overview, the **API Protection** card shows whether an API schema is being enforced for each site.

### How it works

API Protection follows a **positive security** model: your schema defines what your API accepts, and anything else is rejected. Endpoints, methods and parameters that are not defined in the schema are blocked, so only the traffic your API is designed to receive reaches your origin.

Because of this, your schema has to describe your API completely and stay up to date. If you release a new endpoint or parameter and don't update the schema, legitimate requests to it may be blocked.

### Before you start

You'll need:

* A **site** already added to your account (see Sites).
* The **OpenAPI or Swagger schema** of your API, either published at a public URL (for example, `https://api.example.com/openapi.yml`) or as the schema document itself, ready to paste.

### The API Protection page

The page lists every site with API Protection configured. The table shows:

| Column         | What it shows                                                   |
| -------------- | --------------------------------------------------------------- |
| **Site**       | The site the protection applies to.                             |
| **Schema URL** | The address of its schema, with a copy button.                  |
| **Active**     | Whether the protection is currently enabled (**Yes** / **No**). |
| **Actions**    | **Update** and **Delete**.                                      |

At the bottom of the table you can change how many **rows per page** are shown and turn on **Auto-refresh** to keep the list up to date automatically. As in the rest of Provisioning, a reminder at the top of the page shows the **CNAME** your domains must point to.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-d73a8ad3b3a80e95783236b8ec197be5b563a61a%2FCaptura%20de%20pantalla%202026-10-27%20a%20las%2017.17.43.png?alt=media" alt=""><figcaption></figcaption></figure>

### Protecting an API

1. Click **Protect API**.
2. In the **Create API Protection** window, choose the **Site** you want to protect. You can type to search among your sites.
3. Under **Schema source**, choose how you want to provide the schema:
   * **Schema URL** — point to an OpenAPI or Swagger file hosted somewhere reachable. Enter its **public URL** (for example, `https://petstore.swagger.io/v2/swagger.json`).
   * **JSON schema** — a text box appears where you paste the schema document itself. It's useful if your schema isn't published anywhere.
4. Leave **Active** switched on to enable API Protection for this site right away. If you'd rather prepare it first and turn it on later, switch it off.
5. Click **Protect**. **Discard** closes the window without saving anything.

If you use a **Schema URL**, it has to be **public**: Transparent Edge must be able to download the file without logging in.

### Updating or pausing a protection

Click **Update** next to a site to open the **Update API Protection** window. From there you can:

* Replace the **schema** with a new URL, or paste a new one — for example, after releasing a new version of your API.
* Switch **Active** off to pause the protection without losing its settings, and back on when you want it again.

Your changes only take effect once you click **Save changes**.

### Removing a protection

Click **Delete** next to a site to remove its API Protection. If you only want to stop it temporarily, switch **Active** off instead, so you can bring it back without setting it up again.


# Tunnels

Many services live in places the Internet can't easily reach: a development server on a laptop, an internal tool at the office, a web app behind a home router. **Tunnels** lets you publish them through the Transparent Edge network without opening ports, configuring your router or needing a public IP address.

You create a tunnel in the dashboard, download its configuration and run a small client (`frpc`) next to your service. From then on, your service is reachable at a public address under `tunnels.transparentedge.io`.

Tunnels is an optional service. If you don't see it in your dashboard, it may not be included in your plan: contact your account manager to enable it.

### How it works

A traditional setup needs the Internet to reach *into* your network: you need a public IP, and your router or firewall has to forward incoming connections to the right machine.

A tunnel flips that around. The client you run next to your service opens an **outgoing** connection to the Transparent Edge network and keeps it open. When someone visits your tunnel's public address, the request travels through that existing connection to your service, and the response goes back the same way.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-134e33578221a05e15cc46e2e31558f94f147645%2FHow%20a%20tunnel%20works%402x.png?alt=media" alt=""><figcaption></figcaption></figure>

This has a few practical consequences:

* **No port forwarding.** You don't need to touch your router or open inbound ports.
* **Works behind NAT.** Since the connection starts from the inside, it works even if you don't have a public IP address, or if your provider shares one IP between many customers (CG-NAT).
* **Dynamic IPs are not a problem.** There's no DNS record pointing to your IP that could go stale when it changes. If the connection drops, `frpc` simply reconnects.
* **The service stays where it is.** Your application keeps running on your own machine or network; the tunnel only carries the traffic.

### Before you start

Make sure you have:

* A service that **already works locally**. Note down its address and port, for example a web app on `http://localhost:8080`. If `frpc` has nothing to connect to, the tunnel has nothing to deliver.
* A machine that can run `frpc` and can reach your service. It can be the same machine that hosts the service, or any other machine on the same network that can access it.
* An Internet connection that allows **outgoing connections**. On home networks this is almost always the case; on restrictive corporate firewalls you may need to allow outbound traffic to the tunnel server.

### Creating a tunnel

1. Open **Tunnels** from the side menu (**Configuration → Provisioning → Tunnels**) and click **Create tunnel**.
2. In the **Create Tunnel** window, optionally write a **Description**: a label to help you tell this tunnel apart from the others later (for example, *Jenkins at the office*). You can change it at any time.
3. Click **Create tunnel**.

That's it. The **subdomain**, **token** and **site** are generated for you, so there's nothing else to fill in. You'll see the message *Tunnel created successfully* and the details window of your new tunnel opens right away, with the status **Pending** (ready, but no client has connected yet). From there you can download the configuration and copy the token. The tunnel also appears in the list.

### Connecting your service

1. In the tunnels list, click the download icon next to your tunnel, or open its details and click **Download config (.toml)**. This is your `frpc` configuration file.
2. Install `frpc` on the machine that will connect to your service. It's the client from the open-source [frp](https://github.com/fatedier/frp) project: download the build that matches your operating system and architecture.
3. Open the configuration file and set **`localPort`** to the port where your service is listening (for example, `8080`).
4. Run `frpc` with your configuration file:

```
   frpc -c <your-config-file>.toml
```

5. Back in the dashboard, check that your tunnel's status has changed. Then open the **public domain** from a different network (for example, from your phone using mobile data) to confirm your service is reachable.

{% hint style="success" %} Need a hand? In the tunnel's details window, **Download examples (.zip)** gives you the full package: sample configurations plus a README that walks through the setup step by step. {% endhint %}

The tunnel only works **while `frpc` is running**. If you close the terminal, shut down the machine or lose the connection, your public address stops responding until `frpc` is running again. If you plan to use it day-to-day, run `frpc` as a background service that starts automatically with your machine.

### Managing your tunnels

The **Tunnels** page lists every tunnel you've created. From here you can create a tunnel, download its config and run `frpc` locally:

| Column          | What it shows                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Subdomain**   | The tunnel's unique name (it ends with the server identifier, e.g. `-mad1`), with its full public address underneath. Click the copy icon to copy the subdomain.                                                                                                                                                                                                                                                                                                                                         |
| **Description** | Your optional label.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Status**      | <p>The current state of the tunnel:<br>• <strong>Pending</strong>: just created, no client has connected yet. This is what you'll see until you run <code>frpc</code> for the first time.<br>• <strong>Disconnected</strong>: it was connected before, but there's no client connected right now. Check that <code>frpc</code> is still running and that your machine has Internet access.<br>Once <code>frpc</code> connects successfully, the status updates to show the tunnel is up and running.</p> |
| **Server**      | The tunnel server your tunnel is assigned to.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Created**     | When the tunnel was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Actions**     | **View details**, **Download config** and **Delete**.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

Use the **Search by subdomain** box to find a tunnel quickly if you have many. At the bottom of the table you can change how many **rows per page** are shown, and turn on **Auto-refresh** to keep the list (and the statuses) updated automatically while you set things up.

### Tunnel details

Click the eye icon on any tunnel to open its details (the same window that opens right after creating it):

* **Description**: click the pencil icon to add or edit it.
* **Subdomain**: the tunnel's unique identifier, with a copy button.
* **Public domain**: the full address where your service is reachable. Use the copy button to copy it, or the link icon to open it in a new tab.
* **Token**: the credential that links your `frpc` client to this tunnel. It's hidden by default: click the eye icon to reveal it, or the copy icon to copy it without displaying it.
* **Status**, **Site**, **Server** and **Created**: the current state, the site automatically generated for this tunnel (identified by a number, for example *#22572*), the server it's assigned to, and its creation date.
* **Configuration**: buttons to **Download config (.toml)** and **Download examples (.zip)**.

Treat the **token** like a password. Anyone who has it can connect a client to your tunnel. Don't share it or publish it in code repositories, and if you think it may have been exposed, delete the tunnel and create a new one.

### Exposing more than one service

A single configuration file can define several **proxies**, one for each local service you want to publish. When you add more proxies to your configuration, use the tunnel's **subdomain** value *exactly as shown* in both the `name` and `subdomain` fields. You can copy it from the tunnel's details window.

### Deleting a tunnel

If you no longer need a tunnel, click the trash icon in the list, or **Delete tunnel** in the tunnel's details window. Once deleted, its public address stops working and its token can no longer be used to connect. If you need one later, you'll have to create a new tunnel, with a new subdomain and a new token.

### Keeping your tunnel secure

A tunnel makes a service that used to be private reachable from the Internet. Keep this in mind:

* **Anyone who knows the public address can try to access it.** Don't rely on the address being hard to guess. Make sure your application has its own authentication (a login, an API key...), especially if it's an admin panel, a dashboard or anything that shows private data.
* **Only publish what you need.** Point the tunnel at the specific service you want to expose, not at anything else on the machine or network.
* **Protect your token** as described above, and delete tunnels you're no longer using.
* **Keep `frpc` up to date** by regularly installing new versions from the frp project.

### Good to know

* **Availability depends on you.** The tunnel is only as reliable as the machine running `frpc`, your service and your Internet connection. If your computer goes to sleep or your connection drops, the tunnel goes down with it.
* **Upload speed matters.** The traffic travels through your connection, so the upload speed of your network limits how fast your service can respond to visitors.
* **Great for testing, demos and internal tools.** Tunnels are especially handy for showing a work-in-progress site to a colleague or client, receiving webhooks on a development machine, or giving access to a tool that lives on a private network.


# DNS Delegation

With **DNS Delegation**, Transparent Edge becomes the DNS provider for your domain. You point your domain's name servers to us and manage all of its DNS records from the dashboard, next to the rest of your CDN configuration.

You'll find it under **Configuration → DNS Delegation**.

DNS Delegation is available if you have it included in your contract. If you don't see it in the menu or want to enable it, contact your account manager or our support team.

Once your zone is delegated, Transparent Edge answers every DNS query for your domain with the records you create here. That's also what makes DNS activity show up in Analytics and History, in their **DNS** sections.

### How to delegate a domain

Delegating a domain takes four steps:

1. **Add the domain** to the dashboard (see Adding a domain).
2. **Create your DNS records** in the dashboard (see Managing DNS records). Recreate everything your domain needs — website, email, verification records, subdomains... — *before* the next step.
3. **Change the name servers (NS records) of your domain**, at your registrar or current DNS provider, so they point to the two Transparent Edge name servers:

```
   ns.transparentedge.eu
   ns.transparentedge.es
```

You'll find both at the top of the DNS Delegation page, each with a button to copy it. 4. **Wait for the change to spread.** DNS changes can take a while to reach everyone. When they do, Transparent Edge is the one answering for your domain.

Create your records **before** changing the name servers. From the moment the delegation takes effect, the only records that are answered are the ones that exist in the dashboard: anything missing (such as the MX records for your email) will stop working until you add it.

### Adding a domain

1. Click **New Domain**.
2. In the **Create Domain** window, write the **Domain name** (for example, `example.com`).
3. Click **Create**. You'll see the message *Domain created successfully*, and the new domain is selected automatically, with an empty list of records.

To work with a domain you already added, choose it in the **Select a domain** dropdown of the **DNS Domains** card. To remove the selected domain, click **Delete**; you'll be asked to confirm before it's removed.

### Managing DNS records

When you select a domain, its **DNS Records** appear below. If it has none yet, the page tells you so — *Once the zone is delegated, the records you add here are the ones we answer with* — and offers **Add your first record**.

The table shows:

| Column          | What it shows                                                            |
| --------------- | ------------------------------------------------------------------------ |
| **ID**          | The record's identifier.                                                 |
| **Name**        | The full name of the record, with a copy button.                         |
| **Type**        | The record type (see below).                                             |
| **Value**       | What the record points to, with a copy button.                           |
| **TTL**         | How long, in seconds, resolvers can keep the answer before asking again. |
| **Description** | Your optional note.                                                      |
| **Actions**     | Edit and Delete.                                                         |

At the bottom you can choose how many **rows per page** to show and turn on **Auto-refresh** to keep the list up to date.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-30691a2e621f31852369c1af84f6cadc8babbcf1%2FCaptura%20de%20pantalla%202026-10-29%20a%20las%2012.51.01.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Creating a record

1. Click **New DNS Record**.
2. Fill in the **Create DNS Record** window:

   | Field           | What to enter                                                                                                                                |
   | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Record type** | The type of record you need (see the table below).                                                                                           |
   | **Name**        | The name of the record, within your domain: the domain itself, a subdomain such as `www.example.com`, or a wildcard such as `*.example.com`. |
   | **Value**       | What the record points to (an IP address, a host name, some text...). It depends on the type.                                                |
   | **TTL**         | How long the answer can be cached: **5 minutes**, **10 minutes** (the default), **1 hour** or **1 day**.                                     |
   | **Description** | Optional. A note to remind you what the record is for.                                                                                       |
3. Click **Create record**.

To change a record later, click **Edit**, adjust what you need and click **Save changes**. To remove it, click **Delete** and confirm when asked.

{% hint style="info" icon="lightbulb-on" %}
If you're about to change a record that is in production, lower its **TTL** first (for example, to **5 minutes**) and wait for the old TTL to expire. That way, once you make the change, it takes effect much faster.
{% endhint %}

#### Record types

| Type                                                              | Use it to...                                                                                                                    |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **A**                                                             | Point a name to an IPv4 address.                                                                                                |
| **AAAA**                                                          | Point a name to an IPv6 address.                                                                                                |
| **CNAME**                                                         | Make a name an alias of another host name.                                                                                      |
| **ALIAS**                                                         | Point a name to another host name, in the places where a CNAME isn't allowed (such as the domain itself).                       |
| **CDN**                                                           | Serve a name through Transparent Edge directly. The **Value** field is disabled, because it's managed automatically by the CDN. |
| **MX** (**MX\_1**, **MX\_5**, **MX\_10**, **MX\_20**, **MX\_30**) | Tell where the email for your domain is delivered. The number is the record's priority: lower numbers are tried first.          |
| **NS**                                                            | Publish a name server record.                                                                                                   |
| **SRV**                                                           | Publish the location of a service.                                                                                              |
| **TXT**                                                           | Store text, often used to verify domain ownership or to configure email security (SPF, DKIM...).                                |


# Invalidation

Invalidating (or purging) is as important as caching. When you update something on your origin, you need the CDN to drop the old cached copy right away instead of waiting for it to expire or be evicted. Once an object has been purged, the next request for it is fetched from your origin instead of from the cache.

You'll find it under **Cache → Invalidation**. You can invalidate content in two ways, switchable via the tabs at the top of the page:

* **By URL** — target one or more specific URLs.
* **By TAG** — target every cached object that shares a given cache tag, regardless of its URL.

Whichever you choose, you also decide *how* the content is invalidated. There are four methods, explained in Invalidation methods below: **Purge**, **Soft Purge**, **Ban** and **Warm up cache**.

Everything you can do from the dashboard is also available through the API, so you can automate your invalidations.

<figure><img src="https://1833842375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7HYJERlemP2N6HqnBC-1703796690%2Fuploads%2Fgit-blob-002bbecb977bd64943283f5783ea4d14616d6152%2FCaptura%20de%20pantalla%202026-10-26%20a%20las%2012.09.45.png?alt=media" alt=""><figcaption></figcaption></figure>

### Purging by URL

1. Click **+ Purge** in the top-right corner, then choose **Purge URLs**.
2. A wizard walks you through the available invalidation methods. For each URL you want to invalidate, fill in:

   * **Protocol** (`http://` or `https://`)
   * **Domain** — pick from the sites associated with your account
   * **Path** — the path to the specific content (leave it empty to purge the whole domain)

   A live **Preview** below each row shows you the exact URL that will be purged, so you can double-check before submitting.
3. Need to purge several URLs at once? Click the **+** button to add another row, or the trash icon to remove one.
4. Choose your invalidation method and click **Purge** to confirm.

For example, these are all valid URLs to invalidate:

```
https://www.example.com/myobject.js
https://www.example.com/myobject.js?v=2.0
https://www.example.com/img/image.jpg
```

Each one is treated as a complete URL, so `myobject.js` and `myobject.js?v=2.0` are two different objects and have to be invalidated separately.

The protocol is required, but it doesn't matter whether you use `http` or `https`: the object is invalidated either way.

**Advanced mode**: if you already have a list of full URLs copied somewhere (for example, in your clipboard), turn this on to paste them all in at once instead of building each one field by field.

### Purging by TAG

1. Click **+ Purge**, then choose **Purge TAGs**.
2. In the **Cache tags** box, enter the tags you want to invalidate, one per line (no spaces or commas allowed).
3. Choose your invalidation method and click **Purge** to confirm.

This invalidates every object currently carrying that tag, no matter which URL it's cached under. It saves you from writing scripts that build the list of affected URLs every time your content changes, and it's a good alternative to broad Ban patterns.

#### How tagging works

For tag-based invalidation to work, your content needs to be tagged in the first place. This is done via the `Surrogate-Keys` response header, which can hold one or more tags for a given object.

When a visitor requests an object that isn't cached yet (a *miss*), the CDN fetches it from your origin and checks the response for the `Surrogate-Keys` header. If it's there, its value is assigned to the object as tags. If the value contains several words separated by spaces, **all of them** become tags of that object, so you can invalidate it using any of them. For example, this response:

```
HTTP/1.1 200 OK
Surrogate-Keys: main statics1
Content-Type: text/html
```

labels the object with `main` and `statics1`. Invalidating either tag invalidates this object and every other object that carries it, whatever their URLs.

Tags are assigned when the object is fetched from your origin, so only objects cached *after* your origin starts sending the header carry the tags. Objects that were already in the cache won't have them until they're fetched again.

#### Tags and objects: a many-to-many relationship

This is what makes tag invalidation so flexible: one object can have several tags, and one tag can be shared by many objects. Take these two responses from your origin:

```
GET /shop/
Surrogate-Keys: shop main-shop

GET /shop/product/24656-tshirt
Surrogate-Keys: shop product-tshirt
```

There are two objects and three tags. `main-shop` belongs only to the shop page, `product-tshirt` only to the t-shirt page, and `shop` to both. So you can purge just the shop home page (`main-shop`), just one product (`product-tshirt`), or everything in the shop at once (`shop`), without building a list of URLs.

#### Assigning tags

There are two ways to do it:

* **From your origin (recommended).** Add the `Surrogate-Keys` header in your application or in the web server that serves the content. This keeps your caching logic close to your application code. For example, with Nginx:

```
  location ~* ^/content/.*\.(css|js|png|gif)$ {
      add_header Surrogate-Keys "statics content";
  }
```

This tags every `css`, `js`, `png` and `gif` file under `/content/` with the tags `statics` and `content`.

* **From the CDN, using VCL.** If you need more control without touching your origin, add the tags in the `vcl_backend_response` subroutine:

```
  sub vcl_backend_response {
      if (bereq.url ~ "\.(jpg|jpeg|png|gif)($|\?)") {
          set beresp.http.Surrogate-Keys = "images " + beresp.http.Surrogate-Keys;
      }
  }
```

This adds the tag `images` to every resource with the extension `jpg`, `jpeg`, `png` or `gif`.

In the VCL example, keep the space after the tag (`"images "`) before adding the existing header. If your origin already sends other tags in `Surrogate-Keys`, they won't work without it.

#### Purging by TAG with the API

You can also invalidate by tag from your own scripts. Make an authenticated `POST` request to `/v1/companies/<company_id>/tag_invalidate/` with a body that contains the key `tags`:

```
// tags.json
{
    "tags": [
        "main",
        "rss"
    ]
}
```

```
curl --request POST --data @tags.json \
  -H "Authorization: Bearer <API_TOKEN>" \
  -H "Content-Type: application/json" \
  "https://api.transparentcdn.com/v1/companies/<company_
```

### Invalidation methods

Both URL and TAG invalidations use the same four methods:

| Method              | What it does                                            |
| ------------------- | ------------------------------------------------------- |
| **Purge** (default) | The standard way of invalidating an object.             |
| **Soft Purge**      | Marks the object as expired instead of removing it.     |
| **Ban**             | Invalidates every cached object matching a pattern.     |
| **Warm up cache**   | Purges the object and immediately fetches a fresh copy. |

#### Purge

This is the standard way of invalidating an object. It requires the complete URL, and you can invalidate several URLs in a single request.

The object is **removed from the cache immediately**, and the next request fetches it from your origin.

#### Soft Purge

Like Purge, it works on the complete URL, but with one notable difference: the object isn't removed right away. It is flagged as **expired (stale)** instead. The next request is served with the cached object, while a background process fetches an updated copy from your origin. If the update succeeds, the old object is replaced.

This is very useful to protect yourself against origin failures. If your origin has issues and can't serve content, a regular Purge would leave the CDN with nothing to deliver, and visitors would get a `503` error. With a Soft Purge, the CDN keeps returning the cached (expired) object instead, provided it's actually in the cache. You decide which behaviour suits each case better.

**API tip:** to turn a purge into a soft purge, add `"soft": true` to your payload.

#### Ban

A Ban invalidates content using a **pattern**, similar to a regular expression, instead of a single URL. It's recursive: it affects every cached object that matches.

For example, to invalidate all the images under `/content/img/`, you would request a Ban with the pattern:

```
https://www.example.com/content/img/
```

You still need to include the protocol and the domain.

{% hint style="warning" %}
Be very careful with Bans. A Ban at the root of your site (`https://www.example.com/`) invalidates the **entire** content of your cache, and every subsequent request goes straight to your origin, which can put it under heavy load and noticeably reduce your cache efficiency. Use other methods whenever you can, such as invalidation by TAG.
{% endhint %}

#### Warm up cache

It works like Purge, with one extra step: once the object has been invalidated, the CDN automatically makes a request to the same URL to **cache a fresh copy**. That way, the next visitor doesn't hit a cold cache.

{% hint style="info" %}
**API tip:** to warm up the cache when invalidating, add `"refetch": true` to your payload.
{% endhint %}

### Reviewing past invalidations

Every invalidation — by URL or by TAG — is logged automatically, on its respective tab. Each entry shows the **ID**, **Date**, **User** (who requested it), the **URLs** or **Tags** involved, the **Type** (Purge/Soft Purge/Ban), whether it was **Refetch**ed (warmed up) afterwards, and an action to repeat the same invalidation with one click.

Useful settings at the bottom of the table:

* **Rows per page** — control how many entries are shown at once.
* **Auto-refresh** — turn this on to have the table update automatically as new invalidations come in (handy if a teammate is purging content at the same time).

This audit trail — knowing exactly who purged what and when — is new. Previously there was no way to see this from the dashboard itself.




---

[Next Page](https://docs.transparentedge.eu/llms-full.txt/1)

