From dfe368ad27839faec821b7b86d121c37c5e72a4f Mon Sep 17 00:00:00 2001 From: "gabriel.alves" Date: Fri, 10 Jul 2026 09:52:42 -0300 Subject: [PATCH] fix: update image path criteria in Image Processor guides for additional formats --- .../pages/guides/edge-application/ea-fs-image-processor.mdx | 4 ++-- .../edge-application/image-processor-primeiros-passos.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/en/pages/guides/edge-application/ea-fs-image-processor.mdx b/src/content/docs/en/pages/guides/edge-application/ea-fs-image-processor.mdx index a1345ebcde..bd1618f161 100644 --- a/src/content/docs/en/pages/guides/edge-application/ea-fs-image-processor.mdx +++ b/src/content/docs/en/pages/guides/edge-application/ea-fs-image-processor.mdx @@ -36,9 +36,9 @@ Example of an **invalid** URL (causes error 504): *example.com/image.jpeg?ims=10 6. Edit the remaining settings as required and click the **Save** button. 7. In the **Rules Engine** tab for the application, add or edit a **Request phase** rule for one or more image paths. 8. In the **Criteria** section, select the variable to indicate the path of your images in your origin: - - If `${request_uri}` matches `\.(jpg|jpeg|gif|bmp|png)`
+ - If `${request_uri}` matches `\.(jpg|jpeg|gif|bmp|png|ico|webp|avif)`
Or: - - If `${uri}` matches `\.(jpg|jpeg|gif|bmp|png)$` + - If `${uri}` matches `\.(jpg|jpeg|gif|bmp|png|ico|webp|avif)$` 9. In the **Behavior** section, select **Set Cache Policy** and select the cache setting you created. 10. Add the **Optimize Images** behavior. diff --git a/src/content/docs/pt-br/pages/menu-principal/referencia/build/edge-application/image-processor-primeiros-passos.mdx b/src/content/docs/pt-br/pages/menu-principal/referencia/build/edge-application/image-processor-primeiros-passos.mdx index d5e1817211..6bad123ed9 100644 --- a/src/content/docs/pt-br/pages/menu-principal/referencia/build/edge-application/image-processor-primeiros-passos.mdx +++ b/src/content/docs/pt-br/pages/menu-principal/referencia/build/edge-application/image-processor-primeiros-passos.mdx @@ -36,9 +36,9 @@ Exemplo de uma URL **inválida** (causa erro 504): *example.com/image.jpeg?ims=1 6. Edite as configurações restantes conforme necessário e clique no botão **Save**. 7. Na aba **Rules Engine** da application, adicione ou edite uma regra **Request** para um ou mais caminhos de imagem. 8. Na seção **Criteria**, selecione a variável para indicar o caminho das imagens na sua origem: - - If `${request_uri}` matches `\.(jpg|jpeg|gif|bmp|png)`
+ - If `${request_uri}` matches `\.(jpg|jpeg|gif|bmp|png|ico|webp|avif)`
Or: - - If `${uri}` matches `\.(jpg|jpeg|gif|bmp|png)$` + - If `${uri}` matches `\.(jpg|jpeg|gif|bmp|png|ico|webp|avif)$` 9. Na seção **Behavior**, selecione **Set Cache Policy** e selecione a configuração de cache que você criou. 10. Adicione o comportamento **Optimize Images**.