-
Notifications
You must be signed in to change notification settings - Fork 55
changelog: images updates, 2026W8 #879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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" | ||
|
Check warning on line 3 in content/changelog/2026/02-18-images-update.md
|
||
| 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. | ||
|
Check warning on line 15 in content/changelog/2026/02-18-images-update.md
|
||
|
|
||
| * **Common:** | ||
| * Linux Kernel 6.19.2 | ||
| * ClamAV 1.5.1 | ||
| * Mise 2026.2.13 | ||
| * Otoroshictl 0.0.16 | ||
|
Check failure on line 21 in content/changelog/2026/02-18-images-update.md
|
||
| * **.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`. | ||
|
Check warning on line 41 in content/changelog/2026/02-18-images-update.md
|
||
|
|
||
| - [Learn more about Request Flow](/doc/develop/request-flow/) | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 >}}**. | ||
|
Check failure on line 21 in content/doc/develop/varnish.md
|
||
|
|
||
| > [!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)** | ||
|
Check failure on line 24 in content/doc/develop/varnish.md
|
||
|
|
||
| ## 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. | ||
|
Check notice on line 28 in content/doc/develop/varnish.md
|
||
|
|
||
| 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. | ||
|
Check notice on line 32 in content/doc/develop/varnish.md
|
||
|
|
||
| ## 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. | ||
|
Check notice on line 36 in content/doc/develop/varnish.md
|
||
|
|
||
| ## 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. | ||
|
Check notice on line 67 in content/doc/develop/varnish.md
|
||
Uh oh!
There was an error while loading. Please reload this page.