Title: Surge
Author: Konstantin Kovshenin
Published: <strong>3 dezembro, 2021</strong>
Last modified: 6 maio, 2026

---

Pesquisar plugins

![](https://ps.w.org/surge/assets/banner-772x250.jpg?rev=2639176)

![](https://ps.w.org/surge/assets/icon-256x256.jpg?rev=2639176)

# Surge

 Por [Konstantin Kovshenin](https://profiles.wordpress.org/kovshenin/)

[Baixar](https://downloads.wordpress.org/plugin/surge.1.2.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/surge/#description)
 * [Avaliações](https://br.wordpress.org/plugins/surge/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/surge/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/surge/#developers)

 [Suporte](https://wordpress.org/support/plugin/surge/)

## Descrição

Surge gera e serve arquivos HTML estáticos para o seu site WordPress, provendo requisições
mais rápidas, tempos de carregamento menores e um tempo mais curto de resposta de
carga do primeiro byte (TTFB).

O Surge não precisa de configuração e não tem opções. Funciona direto em qualquer
hospedagem bem configurada. Os arquivos em cache são armazenados em disco e perdem
a validade automaticamente quando seu site é atualizado.

Em vários testes de carga, o Surge demonstrou lidar facilmente com 1.000 a 2.500
requisições por segundo a 100 concorrentes, em um pequeno servidor “single-core”
com apenas 1 GB de RAM. Isso é mais de 70 vezes mais rápido do que uma instalação
padrão do WordPress.

## Instalação

Via painel do WordPress: navegue até Plugins > Adicionar novo. Na barra de pesquisa,
digite “surge” e pressione Enter. Encontre o plugin Surge nos resultados da pesquisa,
clique em Instalar e em Ativar.

Manualmente: baixe o arquivo .zip do plugin Surge do WordPress.org. No painel do
WordPress, navegue até Plugins > Adicionar novo > Enviar plugin. Selecione o arquivo.
zip e clique em Instalar plugin. Ative o plugin.

Manualmente via FTP: baixe o arquivo .zip do plugin Surge do WordPress.org e descompacte;
certifique-se de que o diretório gerado se chama “surge”. Use seu cliente FTP/SFTP
para enviar o diretório “surge” para a pasta wp-content/plugins em sua hospedagem.
Em seguida, ative o plugin na seção Plugins do painel do WordPress.

Usando o WP-CLI: `wp plugin install surge --activate`

## Perguntas frequentes

### Onde está a tela de configuração do plugin?

Não tem nenhuma.

### Como eu limpo o cache?

Desative e ative novamente o plugin ou execute `wp surge flush` usando o WP-CLI.

### O meu cache está funcionando?

Visite a tela de Diagnóstico em Ferramentas no painel administrativo do WordPress.
Erros comuns de cache, como problemas de instalação etc., aparecerão lá. Caso contrário,
abra seu site em uma janela anônima para ver a versão em cache. Você também pode
procurar o cabeçalho “X-Cache” na resposta do servidor.

### Por que estou tendo tantas falhas de cache?

Veja abaixo alguns motivos mais comuns:

 * Você está conectado ao seu site WordPress
 * Você tem um cookie exclusivo definido em seu navegador
 * Um parâmetro de consulta exclusivo também causa falhas de cache, exceto parâmetros
   de marketing comuns, como utm_campaign etc.
 * Métodos de requisição exceto GET e HEAD não são armazenados em cache

### Posso excluir uma página X de ser armazenada em cache?

Claro. Se você enviar um cabeçalho “Cache-Control: no-cache” (ou max-age = 0) a 
requisição será excluída do cache automaticamente. Note que a maioria dos plugins
WordPress já irá fazer isso quando necessário.

### A função fpassthru() foi desativada por motivos de segurança

It seems like your hosting provider disabled the fpassthru() function, likely by
mistake. You can use the fpassthru_alt configuration option for compatibility with
such hosts.

### Como eu posso apoiar o Surge?

Se você gosta do Surge, considere nos dar uma [estrela no GitHub](https://github.com/kovshenin/surge)
e fazer uma avaliação no WordPress.org.

## Avaliações

![](https://secure.gravatar.com/avatar/f43c64f98f513435bddc705891a3ba5b6cafafb513b4f57b85c3deb74f887355?
s=60&d=retro&r=g)

### 󠀁[Impressed!](https://wordpress.org/support/topic/impressed-108/)󠁿

 [adamshand](https://profiles.wordpress.org/adamshand/) 12 janeiro, 2026

Love this plugin. Works great and couldn’t be simpler.Thank you!

![](https://secure.gravatar.com/avatar/94eb3e404d8281e1a79dd70c22b75800d38501434a4e718028295016c510ba07?
s=60&d=retro&r=g)

### 󠀁[Surge: Zero-Config Powerhouse – Instant PageSpeed Boost!](https://wordpress.org/support/topic/surge-zero-config-powerhouse-instant-pagespeed-boost/)󠁿

 [Marko Dimitrijević](https://profiles.wordpress.org/dimikjones/) 7 junho, 2025

Absolutely blown away by Surge! This plugin is a game-changer for WordPress performance.
I saw an instant boost from 74 to 78 on PageSpeed Insights compared to another caching
plugin, simply by activating it. The claim of generating static HTML for quicker
requests, faster load times, and a shorter TTFB is spot on. What truly sets it apart
is the zero-configuration – it just works out of the box, making it incredibly user
friendly. The load test results mentioned are impressive, and it’s clear this plugin
delivers on its promises. Huge thanks to Konstantin Kovshenin for this fantastic,
no-nonsense performance solution!

![](https://secure.gravatar.com/avatar/fbc6472d91027aeba0ecdb4e1edd8e76c74cf07b3cd0264bedffb704ac6c9047?
s=60&d=retro&r=g)

### 󠀁[A tiny caching plugin that works and needs no adjustments!](https://wordpress.org/support/topic/a-tiny-caching-plugin-that-works-and-needs-no-adjustments/)󠁿

 [skeeterseatery](https://profiles.wordpress.org/skeeterseatery/) 28 fevereiro, 
2024 1 resposta

I wanted to extend my deepest appreciation for your invaluable contribution. Your
Surge Cache plugin has revolutionized the performance of my website. Amidst the 
challenges of compatibility issues between FlyingPress and WP Rocket with Sucuri
WAF, your plugin emerged as the beacon of hope. Previously, grappling with other
caching plugins led to severe CPU spikes, pushing my site to the brink of breakdowns.
While perfmatters provided some relief, I still needed a lightweight page cache 
plugin to navigate peak traffic periods seamlessly. Enter your Surge Cache plugin.
Its seamless integration with my site has not only bolstered its speed but also 
its overall performance. I am now confident that my website remains steadfast and
responsive even during the busiest of times. Thank you, from the depths of my heart,
for crafting such an exceptional tool. Your unwavering dedication to enhancing website
functionality is truly commendable. With warm regards, Greg

![](https://secure.gravatar.com/avatar/39264a5f4bed62714998d6ddeb606008272c0e7c95f3dbab6411fd299cd2c331?
s=60&d=retro&r=g)

### 󠀁[fpassthru](https://wordpress.org/support/topic/fpassthru/)󠁿

 [silzsyk](https://profiles.wordpress.org/silzsyk/) 22 setembro, 2023 1 resposta

Hello, for this plugin to work must the fpassthru function be activated or not? 
There is a difference?

![](https://secure.gravatar.com/avatar/86c46ccacac2166f2bfb52a3f2b8a1f61731fa4a4d54c4788a38ad508e890741?
s=60&d=retro&r=g)

### 󠀁[Finally a Caching Plugin I can get behind!](https://wordpress.org/support/topic/finally-a-caching-plugin-i-can-get-behind/)󠁿

 [Jason LeMahieu (MadtownLems)](https://profiles.wordpress.org/madtownlems/) 6 fevereiro,
2024 1 resposta

Over the years, I’ve looked at all the top caching plugins, and never found one 
that I liked. They were either too complex, too finicky, or tried to do too many
things. Surge just works, and it works great. Update: I ran some basic performance
testing of the same sample content with and without Surge activated.Surge increased
my Requests per second by a factor of 21x and reduced my time per request by a factor
of 25x. Beyond that, Konstantin has been amazing as far as support goes for a free
plugin. Besides addressing issues and requests, he’s gone above-and-beyond at helping
work through issues, to the point of looking at where we are using Surge and making
additional configuration recommendations. If it were possible to give 6 stars, I
would!

![](https://secure.gravatar.com/avatar/15c1992340b393e287c6050901b6c4a5a10204d854c84ee8be6be84aca77de95?
s=60&d=retro&r=g)

### 󠀁[Just works!](https://wordpress.org/support/topic/just-works-737/)󠁿

 [Timi Wahalahti](https://profiles.wordpress.org/sippis/) 24 janeiro, 2023

This plugin works! Install, activate, and check WP_CACHE value and boom – your site
is fast!One nice feature that is happening under the hood is caching of specific
REST API requests. That makes, for example, dynamic parts of the site with javascript
filtering blazingly fast.

 [ Leia todas as 31 avaliações ](https://wordpress.org/support/plugin/surge/reviews/)

## Colaboradores e desenvolvedores

“Surge” é um programa de código aberto. As seguintes pessoas contribuíram para este
plugin.

Colaboradores

 *   [ Konstantin Kovshenin ](https://profiles.wordpress.org/kovshenin/)

Surge” foi traduzido para 7 localidades. Agradecemos aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/surge/contributors)
por suas contribuições.

[Traduzir o “Surge” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/surge)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/surge/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/surge/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/surge/)
por [RSS](https://plugins.trac.wordpress.org/log/surge/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.2.1

 * Bug fix in SURGE_ config constants
 * Add support for SURGE_CONFIG_CALLBACK

#### 1.2.0

 * Added fpassthru_alt configuration option for compatibility with hosts that do
   not support fpassthru
 * Added the cache status to the event system
 * Added a CLI status command
 * Added support for SURGE_ configuration constants
 * Updated ignore_query_vars

#### 1.1.0

 * Improved Multisite compatibility
 * Fixed occasional stat() warnings in cleanup routines
 * Fixed expiration by path being too broad
 * Added a filter for flush actions
 * Feature: added a simple events system for s-maxage and stale-while-revalidate
   support

#### 1.0.5

 * Fix woocommerce_product_title compatibility
 * Honor DONOTCACHEPAGE constant
 * Use built-in is_ssl() WordPress function for better compatibility

#### 1.0.4

 * Add a WP-CLI command to invalidate/flush page cache
 * Fix redirect loop with Core’s redirect_canonical for ignore_query_vars
 * Fix warnings for requests with empty headers
 * Fix warnings when cron cleanup attempts to read a file that no longer exists
 * Add a filter to disable writing to wp-config.php

#### 1.0.3

 * Invalidate cache when posts_per_page is changed
 * Fix redirect loop with unknown query vars caused by Core’s redirect_canonical
 * Ignore X-Cache and X-Powered-By headers from cache metadata
 * Allow multiple headers with the same name

#### 1.0.2

 * Fix PHP notice in invalidation
 * Protect against race conditions when writing flags.json
 * Add support for more post statuses in transition_post_status invalidation

#### 1.0.1

 * Add support for custom user configuration
 * Various invalidation enhancements and fixes
 * Remove advanced-cache.php when plugin is deactivated
 * Add a note about fpassthru() in FAQ
 * Minor fix in Site Health screen tests

#### 1.0.0

 * Anonymize requests to favicon.ico and robots.txt
 * Improve cache expiration, add cache expiration by path

#### 0.1.0

 * Initial release

## Meta

 *  Versão **1.2.1**
 *  Última atualização **2 semanas atrás**
 *  Instalações ativas **4.000+**
 *  Versão do WordPress ** 5.7 ou superior **
 *  Testado até **7.0**
 *  Versão do PHP ** 7.3 ou superior **
 *  Idiomas
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/surge/), [Dutch](https://nl.wordpress.org/plugins/surge/),
   [English (US)](https://wordpress.org/plugins/surge/), [German](https://de.wordpress.org/plugins/surge/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/surge/), [Russian](https://ru.wordpress.org/plugins/surge/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/surge/) e [Spanish (Spain)](https://es.wordpress.org/plugins/surge/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/surge)
 * Tags
 * [cache](https://br.wordpress.org/plugins/tags/cache/)[caching](https://br.wordpress.org/plugins/tags/caching/)
   [performance](https://br.wordpress.org/plugins/tags/performance/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/surge/advanced/)

## Classificações

 4.9 de 5 estrelas.

 *  [  30 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/surge/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/surge/reviews/?filter=4)
 *  [  1 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/surge/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/surge/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/surge/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/surge/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/surge/reviews/)

## Colaboradores

 *   [ Konstantin Kovshenin ](https://profiles.wordpress.org/kovshenin/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/surge/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://github.com/kovshenin/surge)