diff --git a/content/changelog/2025/06-17-images-update.md b/content/changelog/2025/06-17-images-update.md index 30636134c..7d487c97d 100644 --- a/content/changelog/2025/06-17-images-update.md +++ b/content/changelog/2025/06-17-images-update.md @@ -37,7 +37,7 @@ We updated all our images. Deployment is in progress for all our users. ## Other changes - Multiple fixes for logs -- [Varnish support](/doc/administrate/cache/) for FrankenPHP, [upcoming Linux, Static and V runtimes](https://github.com/CleverCloud/Community/discussions/66) +- [Varnish support](/doc/develop/varnish/) for FrankenPHP, [upcoming Linux, Static and V runtimes](https://github.com/CleverCloud/Community/discussions/66) - Astro, Docusaurus, MkDocs autobuild support for [upcoming static runtime](https://github.com/CleverCloud/Community/discussions/66) - `-x -race` flags are added to `go install` if `CC_TROUBLESHOOT` is set to `true` in Go runtime - `proxy_fcgi` is now default in PHP with Apache if `CC_CGI_IMPLEMENTATION` environment variable is not set diff --git a/content/changelog/2025/07-17-request-flow.md b/content/changelog/2025/07-17-request-flow.md index 978fc61a7..557959c85 100644 --- a/content/changelog/2025/07-17-request-flow.md +++ b/content/changelog/2025/07-17-request-flow.md @@ -12,7 +12,7 @@ description: Ease your reverse proxy configuration more and more excludeSearch: true --- -Clever Cloud exists to ease developers' life. For many years, you can use [Varnish in front of your application](/doc/administrate/cache/) just by adding a `varnish.vcl` file in your repository. For some months, you can also use [Redirection.io](/doc/reference/reference-environment-variables/#use-redirectionio-as-a-proxy) as a reverse proxy to handle redirects, rewrites, and more. In our latest release, we've gone a step further with Request Flow, available in new runtimes first : +Clever Cloud exists to ease developers' life. For many years, you can use [Varnish in front of your application](/doc/develop/varnish/) just by adding a `varnish.vcl` file in your repository. For some months, you can also use [Redirection.io](/doc/reference/reference-environment-variables/#use-redirectionio-as-a-proxy) as a reverse proxy to handle redirects, rewrites, and more. In our latest release, we've gone a step further with Request Flow, available in new runtimes first : - `frankenphp` - `linux` diff --git a/content/changelog/2026/01-28-images-update.md b/content/changelog/2026/01-28-images-update.md index a4871c409..41ae82cc3 100644 --- a/content/changelog/2026/01-28-images-update.md +++ b/content/changelog/2026/01-28-images-update.md @@ -45,7 +45,7 @@ We updated all our images. Deployment is in progress for all our users. ## Request Flow expansion -Request Flow is now available in .Net, Elixir, Haskell and Rust applications. We plan its expansion to more runtimes in the coming weeks in three releases: +Request Flow is now available in .NET, Elixir, Haskell and Rust applications. We plan its expansion to more runtimes in the coming weeks in three releases: - Go and Node.js/Bun - Java and PHP - Python and Ruby diff --git a/content/changelog/2026/02-03-images-update.md b/content/changelog/2026/02-03-images-update.md index 6f2ec00cd..c20166cad 100644 --- a/content/changelog/2026/02-03-images-update.md +++ b/content/changelog/2026/02-03-images-update.md @@ -18,7 +18,7 @@ We updated all our images. Deployment is in progress for all our users. * OAuth2 Proxy 7.14.2 * Otoroshictl 0.0.15 * Tailscale 1.94.1 -* **.Net:** +* **.NET:** * Update to 6.0.136 * **Docker:** * Docker Buildx 0.31.1 diff --git a/content/changelog/2026/02-12-images-update.md b/content/changelog/2026/02-12-images-update.md index 4663f1b1d..cfd658ae4 100644 --- a/content/changelog/2026/02-12-images-update.md +++ b/content/changelog/2026/02-12-images-update.md @@ -1,5 +1,5 @@ --- -title: "Images update: .Net 10, Go 1.26, Mise 2026.2, Python 3.14, uv 0.10" +title: "Images update: .NET 10, Go 1.26, Mise 2026.2, Python 3.14, uv 0.10" description: "Many tiny updates, and some surprises we'll detail soon" date: 2026-02-12 tags: @@ -19,7 +19,7 @@ We updated all our images. Deployment is in progress for all our users. * Mise 2026.2.8 * nginx 1.28.2 * pgpool2 4.7 -* **.Net:** +* **.NET:** * Update to 10.0.102 * **Docker:** * Docker 29.2.1 @@ -34,7 +34,7 @@ We updated all our images. Deployment is in progress for all our users. * pip 26.0.1 * uv 0.10.2 -## .Net 10 support +## .NET 10 support You can now set `CC_DOTNET_VERSION=10.0`, default version is still `8.0`. We'll move to `10.0` in the coming weeks. diff --git a/content/changelog/2026/02-18-images-update.md b/content/changelog/2026/02-18-images-update.md new file mode 100644 index 000000000..e1802795d --- /dev/null +++ b/content/changelog/2026/02-18-images-update.md @@ -0,0 +1,43 @@ +--- +title: "Images update: Kernel 6.19, Request Flow in Go, Java, Node.js, PHP and Static with Apache" +description: "Use Request Flow almost everywhere, and benefit from many updates in our images" +date: 2026-02-18 +tags: + - images + - update +authors: + - name: David Legrand + link: https://github.com/davlgd + image: https://github.com/davlgd.png?size=40 +excludeSearch: true +--- + +We updated all our images. Deployment is in progress for all our users. + +* **Common:** + * Linux Kernel 6.19.2 + * ClamAV 1.5.1 + * Mise 2026.2.13 + * Otoroshictl 0.0.16 +* **.NET:** + * Update to 8.0.123 + * Update to 9.0.113 +* **Elixir:** + * Erlang 27.3.4.7 +* **Node.js & Bun:** + * Update to 24.13.1 (npm 11.8.0) +* **PHP:** + * Update to 8.4.18 + * Update to 8.5.3 +* **Rust:** + * Update to 1.93.1 + +## Apache Basic Auth + +`X-Robots-Tag: noindex, nofollow` header is now added to responses [with Basic Authentication](/doc/applications/php/apache/#basic-authentication) through Apache + +## Request Flow extension + +Request Flow is now available in Go, Java/Scala, Meteor, Node.js & Bun, PHP and Static with Apache runtimes. Python (without uv) and Ruby are coming soon. If your application currently uses Varnish in Go or Node.js, you must ask support to switch to this new release. Your application will have to move from port `8081` to `9000`. + +- [Learn more about Request Flow](/doc/develop/request-flow/) diff --git a/content/doc/administrate/_index.md b/content/doc/administrate/_index.md index 5a3edc7cd..239e4c090 100644 --- a/content/doc/administrate/_index.md +++ b/content/doc/administrate/_index.md @@ -30,7 +30,6 @@ aliases: {{< card link="/developers/doc/administrate/service-dependencies" title="Service dependencies" icon="plug" >}} {{< card link="/developers/doc/administrate/ssh-clever-tools" title="SSH access to running instances" icon="command-line" >}} {{< card link="/developers/doc/administrate/tcp-redirections" title="TCP redirections with Clever Tools" icon="tcp-ip-service" >}} - {{< card link="/developers/doc/administrate/cache" title="Varnish as HTTP cache" icon="bubbles" >}} {{< card link="/developers/doc/administrate/zone-migration" title="Zone migration" icon="map-pin" >}} {{< /cards >}} diff --git a/content/doc/administrate/cache.md b/content/doc/administrate/cache.md deleted file mode 100644 index 68322069b..000000000 --- a/content/doc/administrate/cache.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -type: docs -linkTitle: Varnish as HTTP Cache -title: Varnish as HTTP Cache -description: Configure Varnish HTTP accelerator on Clever Cloud for performance optimization, content delivery, and traffic management -keywords: -- varnish cache -- http accelerator -- performance optimization -- content delivery -- reverse proxy -- caching strategy -aliases: -- /administrate/cache -- /doc/tools/varnish ---- - -## Overview - -[Varnish](https://www.varnish-cache.org/) is a HTTP proxy-cache, which works as a reverse proxy between your application -and the client. Following rules defined by the user, Varnish will cache the data of an application to reduce the load on its server. We use **Varnish 8.0 and varnish-modules 0.27**. - - -> [!NOTE] Supported runtimes -> Varnish is available on **FrankenPHP**, **Go**, **Linux**, **Node.js**, **PHP with Apache**, **Static**, and **V (Vlang)** applications - -## Enable Varnish for your application - -To enable it, create a `varnish.vcl` file in the `/clevercloud` folder. You can also define `CC_VARNISH_FILE=/path/to/varnish.vcl` environment variable relative to your application root. This file describes how Varnish caches your applications and how it decides to return a cached resource or not. To know how to write your `varnish.vcl` file, have a look at the [Varnish documentation](https://varnish-cache.org/docs/8.0/index.html). - -The `vcl 4.1;` and backend section of the `varnish.vcl` configuration file are not necessary as they are already handled by Clever Cloud. -If you have a PHP FTP application or if your `varnish.vcl` file is on an FS Bucket, make sure you redeploy the application for the changes to take effect. - -## Listen on the right port - -Once varnish is enabled, your application should no longer listen on port **8080**, but on port **8081**. Because it's Varnish that will listen on port **8080**, and it will have in its configuration your application as backend. - -## Configure the cache size - -Change the storage size specified in the varnish.params file with the `CC_VARNISH_STORAGE_SIZE` environment variable (the default value is `1G`). - -```bash -CC_VARNISH_STORAGE_SIZE=2G -``` - -## Varnish migration - -If you have a configuration for an older version of varnish, read: -- [Upgrading to Varnish 7.0](https://varnish-cache.org/docs/7.0/whats-new/upgrading-7.0.html) guide -- [Upgrading to Varnish 8.0](https://varnish-cache.org/docs/8.0/whats-new/upgrading-8.0.html) guide - -## Example files - -We provide some [examples of Varnish configuration files](https://github.com/CleverCloud/varnish-examples) that you can -use for your application. Create a `/clevercloud` folder at the root of your application if it does not exist, -rename the file to `varnish.vcl` and move it in the `/clevercloud` folder. - -## Varnish with a monorepo - -If you use a monorepo, you may want to use Varnish for only some of its applications. Use a dedicated `CC_VARNISH_FILE` for that. - -If you have a `/clevercloud/varnish.vcl` file at the root of your monorepo, all of your applications automatically start using it with Varnish. To resolve this create a symlink during the deployments: - -1. Put your `varnish.vcl` file anywhere but at the root of your monorepo. -2. Create a symlink inside a `CC_PRE_BUILD_HOOK` to the app that needs to use Varnish, such as: - -```bash -CC_PRE_BUILD_HOOK="mkdir $APP_HOME/clevercloud; ln -s $APP_HOME/path/to/your/file/varnish.vcl $APP_HOME/clevercloud/varnish.vcl" -``` - -If you don't add this variable, the application won't use Varnish. diff --git a/content/doc/applications/golang.md b/content/doc/applications/golang.md index d9a7d224a..7560d24a5 100644 --- a/content/doc/applications/golang.md +++ b/content/doc/applications/golang.md @@ -154,6 +154,7 @@ To access environment variables from your code, use `os.Getenv("MY_VARIABLE")`. {{% content "more-config" %}} {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} ## See also diff --git a/content/doc/applications/java/java-gradle.md b/content/doc/applications/java/java-gradle.md index 6665a278f..df428f9af 100644 --- a/content/doc/applications/java/java-gradle.md +++ b/content/doc/applications/java/java-gradle.md @@ -129,3 +129,4 @@ Just create and commit the `gradlew` file and the wrapper `jar` and `properties` {{% content "more-config" %}} {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} diff --git a/content/doc/applications/java/java-jar.md b/content/doc/applications/java/java-jar.md index f64c304a0..c672c6add 100644 --- a/content/doc/applications/java/java-jar.md +++ b/content/doc/applications/java/java-jar.md @@ -142,3 +142,4 @@ For Groovy applications, just use the `System.getProperty("MY_VARIABLE")`. {{% content "more-config" %}} {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} diff --git a/content/doc/applications/java/java-maven.md b/content/doc/applications/java/java-maven.md index afd650e87..dc2ef5706 100644 --- a/content/doc/applications/java/java-maven.md +++ b/content/doc/applications/java/java-maven.md @@ -135,3 +135,4 @@ CC_RUN_COMMAND="java -jar somefile.jar " {{% content "more-config" %}} {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} diff --git a/content/doc/applications/java/java-war.md b/content/doc/applications/java/java-war.md index 9cb09d5ad..a6b49ddd2 100644 --- a/content/doc/applications/java/java-war.md +++ b/content/doc/applications/java/java-war.md @@ -161,6 +161,7 @@ Here's the list of the configuration values for the "container" field in `war.js | WILDFLY23 | Use Wildfly servlet container 23.x (see ) | | {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} ## Custom run command diff --git a/content/doc/applications/nodejs.md b/content/doc/applications/nodejs.md index 181474557..2d269c60e 100644 --- a/content/doc/applications/nodejs.md +++ b/content/doc/applications/nodejs.md @@ -290,3 +290,4 @@ To access environment variables from your code, you can use `process.env.MY_VARI {{% content "more-config" %}} {{% content "url_healthcheck" %}} +{{% content "request-flow" %}} diff --git a/content/doc/applications/php/_index.md b/content/doc/applications/php/_index.md index c7dacd53f..6b701439d 100644 --- a/content/doc/applications/php/_index.md +++ b/content/doc/applications/php/_index.md @@ -214,5 +214,4 @@ Then, set `APP_LOG=syslog` as Clever application environment variable. You can learn more about ProxySQL on the [dedicated documentation page](/guides/proxysql) {{% content "url_healthcheck" %}} -{{% content "redirectionio" %}} -{{% content "varnish" %}} +{{% content "request-flow" %}} diff --git a/content/doc/applications/static.md b/content/doc/applications/static.md index 35b7ef2cd..6de99f7fc 100644 --- a/content/doc/applications/static.md +++ b/content/doc/applications/static.md @@ -29,7 +29,7 @@ aliases: ## Overview -Static is a flexible, light and simple runtime dedicated to static sites generators (SSG), designed for minimum configuration effort with Auto-build feature. Pico instances are available, it allows users to put services in front of it, such as [Redirection.io](/doc/reference/reference-environment-variables/#use-redirectionio-as-a-proxy) or [Varnish](/doc/administrate/cache/). +Static is a flexible, light and simple runtime dedicated to static sites generators (SSG), designed for minimum configuration effort with Auto-build feature. Pico instances are available, it allows users to put services in front of it, such as [Redirection.io](/doc/reference/reference-environment-variables/#use-redirectionio-as-a-proxy) or [Varnish](/doc/develop/varnish/). > [!NOTE] Static is a new runtime > Help us to improve it by reporting any issue or suggestion on the [Clever Cloud Community](https://github.com/CleverCloud/Community/discussions/categories/paas-runtimes) diff --git a/content/doc/develop/request-flow.md b/content/doc/develop/request-flow.md index 652556f7a..e96df6e81 100644 --- a/content/doc/develop/request-flow.md +++ b/content/doc/develop/request-flow.md @@ -25,11 +25,18 @@ Request Flow is available in the following runtimes: - [.NET](/doc/applications/dotnet/) - [Elixir](/doc/applications/elixir/) - [FrankenPHP](/doc/applications/frankenphp/) +- [Go](/doc/applications/golang/) - [Haskell](/doc/applications/haskell/) +- [Java](/doc/applications/java/) (Gradle, Jar, Maven, War/Ear) - [Linux](/doc/applications/linux/) +- [Meteor](/doc/applications/meteor/) +- [Node.js & Bun](/doc/applications/nodejs/) +- [PHP with Apache](/doc/applications/php/) - [Python with uv](/doc/applications/python/uv/) - [Rust](/doc/applications/rust/) +- [Scala](/doc/applications/scala/) - [Static](/doc/applications/static/) +- [Static with Apache](/doc/applications/static-apache/) - [V (Vlang)](/doc/applications/v/) ## Supported services @@ -64,7 +71,7 @@ Request Flow allocates ports in a chain from port `8080` (public) down to the ap Your application must listen on port `8080` when no middleware is active, or on port `9000` when at least one middleware is configured. > [!NOTE] -> In runtimes where Clever Cloud manages the port configuration (FrankenPHP, Static), port allocation is handled transparently with no additional configuration. +> In runtimes where Clever Cloud manages the port configuration (FrankenPHP, Java, PHP, Static), port allocation is handled transparently with no additional configuration. ## Explicit configuration with CC_REQUEST_FLOW @@ -127,7 +134,7 @@ In this example: | `CC_VARNISH_FILE` | Path to a custom Varnish VCL file (default: `clevercloud/varnish.vcl`) | | `OTOROSHI_CHALLENGE_SECRET` | Otoroshi challenge secret. Activates Otoroshi Challenge verification in the request flow | -- [Learn more about Varnish on Clever Cloud](/doc/administrate/cache/) +- [Learn more about Varnish on Clever Cloud](/doc/develop/varnish/) - [Learn more about Redirection.io](https://redirection.io/) - [Learn more about OAuth2 Proxy](https://oauth2-proxy.github.io/oauth2-proxy/) - [Learn more about Otoroshi on Clever Cloud](/doc/addons/otoroshi/) diff --git a/content/doc/develop/varnish.md b/content/doc/develop/varnish.md new file mode 100644 index 000000000..4a32b6bcf --- /dev/null +++ b/content/doc/develop/varnish.md @@ -0,0 +1,67 @@ +--- +type: docs +linkTitle: Varnish as HTTP Cache +title: Varnish as HTTP Cache +description: Configure Varnish HTTP accelerator on Clever Cloud for performance optimization, content delivery, and traffic management +keywords: +- varnish cache +- http accelerator +- performance optimization +- content delivery +- reverse proxy +- caching strategy +aliases: +- /administrate/cache +- /doc/administrate/cache +- /doc/tools/varnish +--- + +## Overview + +[Varnish](https://www.varnish-cache.org/) is an HTTP proxy-cache that sits as a reverse proxy between your application and the client. It caches responses according to rules you define, reducing load on your application. Clever Cloud provides **Varnish {{< runtime_version varnish >}} and varnish-modules {{< runtime_version varnish-modules >}}**. + +> [!NOTE] Supported runtimes +> Varnish is available on all runtimes that support [Request Flow](/doc/develop/request-flow/): **.NET**, **Elixir**, **FrankenPHP**, **Go**, **Haskell**, **Java**, **Linux**, **Node.js & Bun**, **PHP with Apache**, **Rust**, **Static**, and **V (Vlang)** + +## Enable Varnish for your application + +Create a `varnish.vcl` file in the `clevercloud/` folder at the root of your application. You can also set the `CC_VARNISH_FILE` environment variable to a custom path within your application root, written as an absolute path starting at `/` (for example `CC_VARNISH_FILE=/config/varnish.vcl`). If the file does not exist, deployment fails. + +This file describes how Varnish caches your application's responses and when it returns a cached resource. To learn how to write your `varnish.vcl` file, refer to the [Varnish documentation](https://varnish-cache.org/docs/8.0/index.html). + +The `vcl 4.1;` declaration and backend section are not necessary as they are already handled by Clever Cloud. If your `varnish.vcl` file is stored on an FS Bucket, redeploy the application for changes to take effect. + +## Listen on the right port + +Varnish is managed through [Request Flow](/doc/develop/request-flow/). Once Varnish is enabled, your application must listen on port **9000** instead of **8080**. Request Flow places Varnish (and any other configured middleware) between the public port (`8080`) and your application. In runtimes where Clever Cloud manages the port configuration (FrankenPHP, Java, PHP, Static), this is handled transparently. + +## Configure the cache size + +Set the `CC_VARNISH_STORAGE_SIZE` environment variable to configure the Varnish cache size (default: `1G`). + +```bash +CC_VARNISH_STORAGE_SIZE=2G +``` + +## Varnish migration + +If you have a configuration for an older version of Varnish, read: + +- [Upgrading to Varnish 7.0](https://varnish-cache.org/docs/7.0/whats-new/upgrading-7.0.html) guide +- [Upgrading to Varnish 8.0](https://varnish-cache.org/docs/8.0/whats-new/upgrading-8.0.html) guide + +## Example files + +Clever Cloud provides [example Varnish configuration files](https://github.com/CleverCloud/varnish-examples). Download the one that fits your needs, rename it to `varnish.vcl` and place it in the `clevercloud/` folder at the root of your application. + +## Varnish with a monorepo + +If you use a monorepo, you may want to use Varnish for only some of its applications. Use `CC_VARNISH_FILE` to point to a specific configuration file. + +A `clevercloud/varnish.vcl` file at the root of your monorepo activates Varnish for all applications. To limit Varnish to specific applications, place the file elsewhere and create a symlink during deployment only for the applications that need it: + +```bash +CC_PRE_BUILD_HOOK="mkdir $APP_HOME/clevercloud; ln -s $APP_HOME/path/to/your/file/varnish.vcl $APP_HOME/clevercloud/varnish.vcl" +``` + +Applications without this hook or without `CC_VARNISH_FILE` set will not use Varnish. diff --git a/content/doc/reference/reference-environment-variables.md b/content/doc/reference/reference-environment-variables.md index a2834bb1a..3c9acd1e4 100644 --- a/content/doc/reference/reference-environment-variables.md +++ b/content/doc/reference/reference-environment-variables.md @@ -110,8 +110,8 @@ Use these to define [commands to run](/doc/develop/build-hooks) between various |[`CC_METRICS_PROMETHEUS_PORT`](/doc/metrics/#publish-your-own-metrics "Publish your own metrics") | Define the port on which the Prometheus endpoint is available | 9100 | |[`CC_METRICS_PROMETHEUS_RESPONSE_TIMEOUT`](/doc/metrics/#publish-your-own-metrics "Publish your own metrics") | Define the timeout in seconds to collect the application metrics. This value **must** be below 60 seconds as data are collected every minutes | 3 | |[`CC_METRICS_PROMETHEUS_USER`](/doc/metrics/#publish-your-own-metrics "Publish your own metrics") | Define the user for the basic auth of the Prometheus endpoint | | -|[`CC_VARNISH_FILE`](/doc/administrate/cache "Cache") | The path to the Varnish configuration file, relative to your application root | `/clevercloud/varnish.vcl` | -|[`CC_VARNISH_STORAGE_SIZE`](/doc/administrate/cache "Cache") | Configure the size of the Varnish cache. | 1G | +|[`CC_VARNISH_FILE`](/doc/develop/varnish "Cache") | The path to the Varnish configuration file, relative to your application root | `/clevercloud/varnish.vcl` | +|[`CC_VARNISH_STORAGE_SIZE`](/doc/develop/varnish "Cache") | Configure the size of the Varnish cache. | 1G | |[`CC_WORKER_COMMAND`](/doc/develop/workers "Workers") | Command to run in background as a worker process. You can run multiple workers. | | {{% content "mise" %}} diff --git a/content/guides/tutorial-wordpress.md b/content/guides/tutorial-wordpress.md index b2f4aabce..f0f7b6568 100644 --- a/content/guides/tutorial-wordpress.md +++ b/content/guides/tutorial-wordpress.md @@ -148,7 +148,7 @@ To uninstall the plugin, the procedure is the same as before except that you hav ## Optimise and speed-up your WordPress There are multiple ways to optimise your WordPress and speed-up its response time. -We provide different tools and software to help you in this task as [Varnish](/doc/administrate/cache) for the HTTP cache, and [Redis](/doc/addons/redis) for the object caching. +We provide different tools and software to help you in this task as [Varnish](/doc/develop/varnish) for the HTTP cache, and [Redis](/doc/addons/redis) for the object caching. ### Performance plugins @@ -159,7 +159,7 @@ We noticed performances problems when performance plugins are enabled and we rec ### HTTP Cache with Varnish -Enabling [Varnish](/doc/administrate/cache) for your application is very simple. All instances of PHP provide [Varnish](/doc/administrate/cache), you just have to configure your application to use it. +Enabling [Varnish](/doc/develop/varnish) for your application is very simple. All instances of PHP provide [Varnish](/doc/develop/varnish), you just have to configure your application to use it. 1. To use Varnish in your application, you have to create a `varnish.vcl` file in the `clevercloud` folder of your application. If this folder doesn't exist, create it in the **root** of your project. diff --git a/data/runtime_versions.yml b/data/runtime_versions.yml index 0ade4d4ae..4f301c592 100644 --- a/data/runtime_versions.yml +++ b/data/runtime_versions.yml @@ -56,7 +56,7 @@ java: node: eol_source: https://nodejs.org/en/about/releases/ default: - - 24.13.0 (npm 11.6.2) + - 24.13.1 (npm 11.8.0) php: eol_source: https://www.php.net/supported-versions.php @@ -82,6 +82,16 @@ sws: default: - "2.40.1" +varnish: + eol_source: https://varnish-cache.org/releases/ + default: + - "8.0" + +varnish-modules: + eol_source: https://github.com/varnish/varnish-modules/releases + default: + - "0.27" + v: eol_source: https://github.com/vlang/v/releases default: diff --git a/shared/request-flow.md b/shared/request-flow.md index 3fa0ef7c7..1fe40c7f3 100644 --- a/shared/request-flow.md +++ b/shared/request-flow.md @@ -11,5 +11,5 @@ All three can be active simultaneously. To control the order, set `CC_REQUEST_FL When at least one middleware is active, your application must listen on port `9000` instead of `8080`. - [Learn more about Request Flow](/doc/develop/request-flow/) -- [Learn more about Varnish on Clever Cloud](/doc/administrate/cache/) +- [Learn more about Varnish on Clever Cloud](/doc/develop/varnish/) - [Learn more about Redirection.io](https://redirection.io/) diff --git a/shared/varnish.md b/shared/varnish.md index df8f59279..98462e666 100644 --- a/shared/varnish.md +++ b/shared/varnish.md @@ -1,5 +1,3 @@ ## Use Varnish as cache Varnish is a powerful HTTP accelerator that can be used to cache your web application's responses, improving performance and reducing load. To use it, create a Varnish configuration file in `clevercloud/varnish.vcl` and configure your application to listen on port `8081`. - -- [Learn more about Varnish on Clever Cloud](/doc/administrate/cache/)