¿Está buscando la forma de establecer WP Super Cache en su sitio web WordPress?
Los motores de búsqueda como Google ahora consideran la velocidad del sitio como un factor importante de clasificación. WP Super Cache puede hacer que su sitio funcione más rápido, impulsar el SEO de su sitio, y mejorar la experiencia de usuario de los visitantes de su sitio web.
En este artículo, le mostraremos cómo instalar y establecer WP Super Cache en su sitio web.
¿Qué es WP Super Cache y por qué deberías usarlo?
WP Super Cache es uno de los mejores y más populares plugins de caché para WordPress. Es un plugin gratuito y tiene más de 2 millones de instalaciones activas.
WP Super Cache hace una copia de cada página de su sitio en forma de archivo HTML estático. De esta manera, cada vez que alguien visita su sitio, se les sirve la versión copiada rápidamente en lugar de generar todo el sitio web desde cero.
Como resultado, la velocidad y el rendimiento de su sitio WordPress mejoran drásticamente. El plugin de caché omite muchos pasos entre bastidores para que tus visitantes no tengan que esperar a que se abra la página.
Con un sitio web de carga rápida, puede ver un impulso en su WordPress SEO y posicionamiento en buscadores. Google da una ventaja significativa a los sitios web más rápidos, ya que utiliza la velocidad del sitio web como un factor de clasificación.
Además, también mejorará la experiencia de los visitantes de su sitio web. Un sitio que carga rápidamente anima a la gente a visitarlo más a menudo. De este modo, conseguirás más participación y conversiones, ya que los usuarios pasan más tiempo en las páginas.
¿Estás listo para establecer WP Super Cache en tu sitio web? Averigüémoslo.
Establecer WP Super Cache – la manera fácil
Lo primero que tienes que hacer es instalar y activar el plugin WP Super Cache en tu sitio web. Para más detalles, puedes seguir nuestra guía sobre cómo instalar un plugin de WordPress.
Una vez activado, WP Super Cache le avisará de que el almacenamiento en caché no está activado / activo en su sitio web en este momento.
Para activar la caché, vaya a Ajustes ” WP Super Cache. En la pestaña Fácil, haz clic en la opción “Caché activada”. Una vez hecho esto, haz clic en el botón ‘Actualizar estado’.
Después de activar la caché, tendrás que desplazarte hasta la sección Comprobador de caché.
Una vez allí, debes hacer clic en el botón “Probar caché” para comprobar si funciona.
WP Super Cache buscará su sitio WordPress dos veces y comparará las marcas de tiempo de ambas páginas. Si ambas marcas de tiempo coinciden, significa que el almacenamiento en caché está funcionando en su sitio ahora.
Configuración avanzada de WP Super Cache
WP Super Cache es un potente plugin para WordPress que viene con muchas opciones avanzadas. Estas opciones pueden mejorar aún más el rendimiento de su sitio y proporcionar un mayor control sobre cómo el plugin almacenará en caché su sitio.
Activar caché
Para establecer WP Super Cache con opciones avanzadas, ve a la pestaña ‘Avanzado’ en el plugin WP Super Cache. A continuación, haga clic en la casilla de verificación “Activar caché”.
Debajo de “Caché”, verás las opciones de “Método de entrega de caché”. Le recomendamos que utilice la opción “Simple” si es principiante y no está familiarizado con la edición de los archivos del servidor.
Activar la compresión en WP Super Cache
La compresión permite a WP Super Cache servir archivos en caché como archivos comprimidos, lo que mejora el tiempo de carga. Estos archivos son más pequeños y pueden ser descargados por los navegadores más rápidamente.
Para activar la compresión, desplácese hasta la sección “Varios” y marque la casilla “Comprimir páginas para que los visitantes las vean más rápidamente”.
Activar el caché dinámico
Si desea mantener ciertas partes de una página web dinámica durante el almacenamiento en caché, entonces WP Super Cache ofrece una opción para ello.
Para activar esta opción, vaya a la sección “Avanzado” y haga clic en la casilla de verificación “Activar caché dinámica”.
Activar la caché dinámica es útil en determinadas situaciones, especialmente si tiene páginas cuyo contenido cambia con frecuencia. Por ejemplo, puedes acelerar las páginas que contienen anuncios si activas la caché dinámica.
Establecer la caducidad y la recogida de basuras
WP Super Cache le permite establecer el tiempo de caducidad y la frecuencia con la que se borran las páginas almacenadas en caché de su servidor.
Para empezar, sólo tiene que desplazarse hasta la sección “Tiempo de caducidad y recogida de basura” de la pestaña Avanzado para configurarlo.
El ‘Tiempo de espera de la caché’ indica al plugin que elimine la página en caché y realice una nueva caché. El plugin lo establecerá en 1800 segundos por defecto, lo que es ideal para un sitio web con mucho tráfico.
Sin embargo, si tiene un sitio web nuevo que no recibe mucho tráfico, 3600 segundos es un buen punto de partida.
Aparte de eso, puede programar una hora para que el plugin compruebe si hay archivos antiguos en caché y los elimine.
Especifique las páginas que no desea que se almacenen en caché
Por defecto, el plugin almacenará en caché todas las páginas de su sitio. Esto puede aumentar el tamaño de sus archivos de caché y utilizar más recursos. Sin embargo, WP Super Cache le permite añadir páginas que no desea que se almacenen en caché.
Para empezar, desplácese hasta la sección “Cadenas de URL rechazadas” en la pestaña Avanzado. En el cuadro de texto, introduzca la cadena URL de las páginas que no desea que el plugin almacene en caché.
Por ejemplo, si tiene una tienda de comercio electrónico, puede excluir páginas que los visitantes no visitan a menudo y guardar o ahorrar recursos del servidor. Estas pueden ser la página de finalizar compra / pago, la página de cuenta y la página de agradecimiento.
Cuando hayas terminado, no olvides hacer clic en el botón “Guardar cadenas”.
Establecer CDN con WP Super Cache
La mayoría de los sitios web de contenido sirven muchos archivos estáticos con cada solicitud de página.
Esto incluye archivos JavaScript, imágenes, hojas de estilos y mucho más. A diferencia de las entradas de WordPress, que son generadas dinámicamente por PHP, estos archivos pueden servirse mediante un servicio de red de distribución de contenidos (CDN).
Una CDN es una red de servidores distribuidos geográficamente que ayudan a entregar rápidamente contenido a sus visitantes. Para más detalles, marque / compruebe nuestra infografía sobre por qué necesita una CDN.
Nota: Establecer una CDN con WP Super Cache es un poco técnico y requerirá algo de experiencia con CDNs. Si prefieres un método más sencillo, CloudFlare es un proveedor de CDN gratuito fácil de establecer. Consulte nuestro tutorial sobre cómo establecer la CDN gratuita de CloudFlare en su sitio de WordPress.
Para establecer CDN con WP Super Cache, siga adelante y haga clic en la pestaña CDN y luego marque la casilla junto a la opción ‘Activar soporte CDN’.
Ahora introduzca su URL externa, que será la URL de su zona de extracción. Una zona de extracción indica a la CDN dónde encontrar sus archivos y cómo servirlos a sus usuarios. Por ejemplo, puede introducir lo siguiente: https://cdn.wpbeginner.com
En el campo CNAMEs adicionales, introduzca otros CNAMEs que haya creado para su zona pull. Por ejemplo, http://cdn1.wpbeginner.com,
http://cdn2.wpbeginner.com,
http://cdn3.wpbeginner.com.
Puedes dejar los demás ajustes por defecto. Por último, marque la casilla “Omitir URL https para evitar errores de “contenido mixto”” y guarde los cambios.
Ahora su sitio web está listo para servir contenido estático desde una CDN.
Servir un sitio estático con WP Super Cache
El modo de precarga en WP Super Cache te permite crear archivos estáticos super cache para todas tus entradas y páginas y servir un sitio web estático. De esta manera, su contenido se cargará rápidamente cada vez que alguien visite su sitio.
Un archivo estático supercache ayuda a conservar los recursos del servidor, servir un sitio antiguo que ya no se actualiza y mejorar la velocidad del sitio sirviendo solo contenido estático.
Para empezar, dirígete a la pestaña “Precarga” del plugin WP Super Cache. A continuación, puede establecer el tiempo de actualización de los archivos de caché de precarga.
Por defecto, el plugin lo establecerá en 600 minutos, pero puedes reducir el tiempo si publicas varios artículos cada día.
Recuerde que precargar todo su sitio de WordPress lleva algún tiempo y consume muchos recursos de su servidor. Puedes dejarlo a 0 si no quieres que tus archivos estáticos caduquen nunca a menos que actualices manualmente la caché.
Después, asegúrese de marcar / comprobar las casillas de ‘Modo de precarga (recolección de basura desactivada. Recomendado)’. También puede activar la precarga para diferentes etiquetas, categorías y otras taxonomías de su sitio web.
El plugin también ofrece la opción de recibir alertas por correo electrónico cada vez que se actualicen tus archivos. Por defecto, utilizará el ajuste “Sin correo electrónico”, pero puedes cambiarlo eligiendo una opción del menú desplegable.
Cuando hayas terminado, guarda los ajustes y haz clic en el botón “Precargar caché ahora”.
Guías de expertos sobre el almacenamiento en caché de WordPress
Ahora que ya sabe cómo establecer WP Super Cache, puede que le interese ver otros artículos relacionados con la caché de WordPress.
- Glosario Caché
- Cómo corregir fácilmente la advertencia de almacenamiento en caché del navegador en WordPress
- Cómo vaciar la caché de WordPress (paso a paso)
- Los mejores plugins de caché de WordPress para acelerar su sitio web
- LiteSpeed Cache vs. WP Rocket – ¿Cuál es mejor?
- Cómo instalar y configurar correctamente WP Rocket en WordPress
- Cómo instalar y configurar W3 Total Cache para principiantes
- La guía definitiva para aumentar la velocidad y el rendimiento de WordPress
- Cómo acelerar el rendimiento de WooCommerce
Esperamos que esta guía te haya ayudado a establecer WP Super Cache en tu blog de WordPress. Puede que también quieras ver nuestra guía sobre cómo mover un sitio WordPress de HTTP a HTTPS o nuestra selección experta de los mejores proveedores de alojamiento para acelerar tu sitio.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Anze says
Hey; I have a question – so preload mode enabled does not deletes old cached files – but does that means then when preloaded files are refreshed, the old ones are deleted and replaced, or does it just adding files, which would mean space on server would eventually run out?
WPBeginner Support says
When the page is preloaded a new time, the old preloaded version would be deleted and replaced.
Administrador
James Omeke says
Thanks so much . This was very helpful.
I got my website up and running now
WPBeginner Support says
You’re welcome, glad our guide was helpful!
Administrador
Mike Royden says
Plug in installed, but can’t get past this;
Permalink Structure Error
A custom url or permalink structure is required for this plugin to work correctly. Please go to the Permalinks Options Page to configure your permalinks.
I have gone to the Permalinks Options Page to configure your permalinks, but can’t see where I’m going wrong. Going round in circles, please help. Thanks
WPBeginner Support says
You would want to ensure your permalinks are not set to plain for that error. We recommend using the Post name structure.
Administrador
Mike Royden says
Sorted! Many thanks for your advice and taking the time to reply. Cheers.
Katherine says
I’m trying to set up this plug in to get the best results, and I’m not tech-savvy at all. Your Wp advanced cache set up section is not the same as the current plugin advanced options.
WPBeginner Support says
Thank you for letting us know, we will be sure to take a look into this and update our article when able.
Administrador
Simon says
I was able to speed up my homepage significantly but unfortunately it only worked for the homepage. The subpages like i.e. ‘Services’ are still really slow.
What could be the problem?
WPBeginner Support says
You would want to run a speed test for that using our guide below to figure that out:
https://www.wpbeginner.com/beginners-guide/how-to-properly-run-a-website-speed-test-best-tools/
Administrador
Rainey says
Unable to activate the plugin. I get a warning message that a .php file already exists and I should manually delete it before using the plugin. Since I am not a techie I do not know where to go to delete the file. If you could put language in your update to the tutorial to guide us would be really helpful.
WPBeginner Support says
For that error, you may want to follow our guide below:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-destination-folder-already-exists-error-in-wordpress/
Administrador
Paul says
This post is dated. When will this post be updated? Would like to know the current status of WP Super Cache?
WPBeginner Support says
Thank you for letting us know, we do not have a specific date that content will be updated but we will take a look into updating this article
Administrador
Nic says
Is there a way to export settings once you get done?
WPBeginner Support says
At the moment WP Super Cache does not have a built-in option to export settings.
Administrador
ShoaiB says
Thank you for this Awesome Guide.
I’m using WP Super Cache (Version 1.7.0 ). In the above tutorial, many features are not included. plz, Update Post.
WPBeginner Support says
Thank you for your request, we will look into updating the post
Administrador
Christopher says
not as easy as described…
A custom url or permalink structure is required for this plugin to work correctly. Please go to the Permalinks Options Page to configure your permalinks.
WPBeginner Support says
Thank you for reminding us of that, we’ll be sure to look into updating the article for clarification.
Administrador
Ana says
Hello Support!
Thank you for all your work, I’m a complete newbie and without you, I don’t know how I’d manage.
I’m confused as regards what off-site URLs and CNames are, so I’m unable to fill in that in the form. Do I have to refer to somewhere on my page to find out or do I just create it my indicating something?
Just in case it affects somehow I’d like to inform that I run a multisite.
Thank you so much & hope you can help me,
Ana
WPBeginner Support says
Hi Ana,
The off site URL is the URL of your CDN location and CNames are different pullzones you have created on your CDN server. If you are not using a CDN, then you don’t need to make any changes to these settings.
Administrador
krishna says
can i use this plugin for testing in localhost ??
i installed this plugin in localhost and in “Cache Contents” nothing cached
displaying this …
WP-Cache (0KB)
0 Cached Pages
0 Expired Pages
WP-Super-Cache (0KB)
0 Cached Pages
0 Expired Pages
is it because i can’t use cache plugin in localhost or some other issue ?
Hardik says
There is nothing called MOD_REWRITE. Everything from that step seems completely different. Please update the tutorial.
Mike says
No matter what settings I use Pingdom still gives me an F and says “The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:” and I see and “expiration not specified” message in the details. Am I missing a setting?
Akshay says
Hi Team ,
Thanks for the amazing article .
I have installed WP Super Cache with cloudflare (newbie blogger).
Can you please help me, how can I integrate cloudflare with WP super cache .
I did not found any articles or vidoes for the same .
I thought of installing WP Total , but it has not releasedthe update for recent wordpress version 4.8.1
Thank You
Sumaiya says
Hi, I wanted to speed up my site. I used this guide and customized the settings as you shown. But before installing this plugin I tested my site speed it was 4.20 sec. But after installing I check it was 6.78 sec. Why is it like this? please guide me well.
WPBeginner Support says
Hi Sumaiya,
Please test it again. If the result persists, then deactivate the plugin.
Administrador
Rajeev jaiswal says
hello sir, I’m trying to integrate js and CSS code elements in twenty-seventeen WordPress theme. I use enqueue methods but it does not work, so suggest me to all about.
Sara says
I just downloaded WP Super Cache and the “Advanced” Page doesn’t have the same setup (or some of the same options!) as your screenshot and instructions. Are those dates, or did I somehow end up with an older version of the plugin?
Carrie says
Same here, my settings are different.
Abner says
Hi guys – Thanks for sharing this. I am using wp super cache and my wordpress is 4.0.1. At first, i don’t have any problem. Until recently, having a problem. My post did not appear on my website. I tried to put the caching off and my post appear. After that, I put the caching on again. My workaround was after posting article to my website, I will put my caching off to appear the post in my website, then after a few minutes, I will put the caching to on.
Few weeks doing that, and now, when I put the caching on, my post will disappear again to my website. As of now, my caching is still off.
Thanks and hope you can help me.
WPBeginner Support says
Hi Abner,
Seems like WP Super Cache is not clearing the cache when you publish new content. Please see our article on how to clear cache in WordPress.
Administrador
Mark Layton says
Hello Support,
Thank You for your help with this issue while trying to install WP Super Cache.
Here is a copy of issue :
Warning! Could not update /var/www/website/wp-config.php! WPCACHEHOME must be set in config file.
Warning! /var/www/website/wp-content/advanced-cache.php does not exist or cannot be updated.
1. If it already exists, please delete the file first.
2. Make /var/www/website/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /var/www/website/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
3. Refresh this page to update /var/www/website/wp-content/advanced-cache.php
If that doesn’t work, make sure the file /var/www/website/wp-content/advanced-cache.php doesn’t exist:
1. Open /var/www/website/wp-content/plugins/wp-super-cache/advanced-cache.php$wp_cache_file in a text editor.
2. Change the text CACHEHOME to /var/www/website/wp-content/plugins/wp-super-cache/
3. Save the file and copy it to /var/www/website/wp-content/advanced-cache.php and refresh this page.
Cannot continue… fix previous problems and retry.
Already use your Envira Gallery and WP Forms and those are fantastic.
Should I just use W3 Total Cache instead?
Thank You so much for your help.
Mark Layton
WPBeginner Support says
Hey Mark,
You can try following the instructions shown in WP Super Cache. If you find them too complicated, then you can try W3 Total Cache. Good luck
Administrador
sheikave Jhurreea says
Initially my website was loading for under 8 seconds which is pretty bad. But using your tutorial I was able get 90/100 for desktop performance.
But the mobile platform it remained 74/100. Could you suggest some resources where I could look up too or what is your suggestion.
WPBeginner Support says
Hey Sheikave,
Congrats! That’s impressive. You may also want to see our guide on how to fix render-blocking JavaScript and CSS in WordPress.
Administrador