Surge

Descripción

Surge genera y sirve HTML estático en tu sitio WordPress, generando peticiones más rápidas, tiempos de carga más rápidos y un tiempo hasta el primer byte (TTFB) más corto.

Surge no requiere configuración, y no tiene opciones. Funciona por sí solo y cualquier plataforma de hosting bien configurada. Los archivos de caché se almacenan en el disco y se invalidan automáticamente cuando se actualiza tu sitio.

En diversas pruebas de carga, Surge ha mostrado gestionar fácilmente de 1.000 a 2.500 peticiones por segundo a una concurrencia de 100 a la vez, en un servidor pequeño de un solo núcleo, con solo 1 GB de RAM. Eso es más de 70 veces más rápido que una instalación tipo de WordPress.

Instalación

Via the WordPress Dashboard: navigate to Plugins – Add New. In the search bar type «surge» and hit Enter. Find the Surge plugin in the search results, hit Install, then Activate.

Manually: download the Surge plugin .zip file from WordPress.org. In your WordPress admin navigate to Plugins – Add New – Upload. Select the .zip file and hit Upload. Activate the plugin after upload is successful.

Manually via FTP: download the Surge plugin .zip file from WordPress.org, extract the archive, make sure the directory is called «surge». Use your FTP/SFTP client to upload the «surge» directory to wp-content/plugins. Then activate the plugin in your WordPress admin from the Plugins section.

Usando WP-CLI: wp plugin install surge –activate

FAQ

¿Dónde está la pantalla de configuración del plugin?

No hay ninguna

How do I clear the cache?

Toggle the plugin activation or run wp surge flush using WP-CLI.

¿Está funcionando mi caché?

Visita la pantalla de salud del sitio en el menú de herramientas del escritorio de WordPress. Los errores habituales de caché, así como los problemas de instalación, aparecerán ahí. Sino, abre tu sitio en una ventana de incógnito para ver la versión en caché. También podrías buscar la cabecera «X-Cache» en la respuesta del servidor.

¿Por qué estoy teniendo fallos de caché?

Abajo tienes algunos motivos habituales:

  • Estás conectado a tu sitio WordPress
  • Tienes una cookie única configurada en tu navegador
  • Un parámetro de consulta único también provocará un error en la caché, excepto si son parámetros habituales de marketing, como utm_campaing, etc.
  • Los métodos de petición aparate de GET y HEAD no se almacenan en caché

¿Puedo excluir la página X de que se almacene en la caché?

Por supuesto. Si pasas una cabecera de «Cache-Control: no-cache» (o max-age=0) la petición se excluirá automáticamente de la caché. Ten en cuenta que la mayoría de plugins WordPress ya hacen esto cuando es necesario.

fpassthru() se ha desactivado por motivos de seguridad

Parece que tu proveedor de alojamiento desactivó la función fpassthru(), posiblemente por error. Esto es un requisito de Surge. Contacta con ellos y pídeles que lo activen.

¿Cómo puedo apoyar a Surge?

Si te gusta Surge, plantéate darnos una estrella en GitHub y una valoración en WordPress.org.

Reseñas

22 de septiembre de 2023 1 respuesta
Hello, for this plugin to work must the fpassthru function be activated or not? There is a difference?
24 de enero de 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.
22 de septiembre de 2022 1 respuesta
I almost gave up on finding a WP cache plugin that ONLY did that... cache! Everything is bloated with minify, CDN, image optimize, and a bunch of features I just don't need because we have those taken care of otherwise.
6 de abril de 2022 1 respuesta
I'm using it for 1 month on different sites with different themes and plugins, and some big ones over 150-200GB. Works just perfect!
16 de febrero de 2022 1 respuesta
I just installed Surge in all my sites. After cancelling the payment option I was using, I was looking for a simple and easy to install option. And Surge is exactly this. Forget about complex configuration options (where you're at risk of crashing your site, talking from my own experience!), just install and forget!. I don't know if it's really the fastest option if you're an optimization expert that know exactly what to touch but it's the fastest option for me, no doubt about it
Leer todas las 27 reseñas

Colaboradores y desarrolladores

«Surge» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Surge» ha sido traducido a 5 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Surge» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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

  • Versión inicial