{"id":37336,"date":"2022-10-06T07:00:25","date_gmt":"2022-10-06T14:00:25","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=37336"},"modified":"2025-01-16T13:04:31","modified_gmt":"2025-01-16T21:04:31","slug":"acelera-tu-sitio-wordpress-con-compresion-gzip","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/","title":{"rendered":"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Mantener tu sitio funcionando en su mejor velocidad es esencial. Un sitio web r\u00e1pido puede proporcionar un gran impulso a la experiencia de usuario de tu sitio, <\/span><a href=\"https:\/\/www.dreamhost.com\/blog\/es\/mejorar-metricas-web-principales\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">visibilidad en los motores de b\u00fasqueda<\/span><\/a><span style=\"font-weight: 400;\">, y mejorar tu profesionalismo y confianza.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">La compresi\u00f3n Gzip es un <\/span><a href=\"https:\/\/w3techs.com\/technologies\/details\/ce-gzipcompression\/all\/all\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">m\u00e9todo popular<\/span><\/a><span style=\"font-weight: 400;\"> para acelerar tu sitio. Mientras que el t\u00e9rmino puede sonar t\u00e9cnico, el concepto b\u00e1sico no es demasiado complejo. Adem\u00e1s, habilitar la compresi\u00f3n Gzip en tu sitio WordPress es sorprendentemente f\u00e1cil. Ve\u00e1moslo m\u00e1s a fondo.&nbsp;<\/span><\/p>\n\n\n\n<h2 id=\"h-una-introduccion-a-la-compresion-gzip\" class=\"wp-block-heading\"><b>Una Introducci\u00f3n a la Compresi\u00f3n Gzip<\/b><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"800\" height=\"370\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/compresion-Gzip-editando-archivo-tema.jpg\" alt=\"Editando una hoja de estilo a trav\u00e9s de FTP, compresi\u00f3n Gzip\" class=\"wp-image-37337 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/compresion-Gzip-editando-archivo-tema.jpg.webp 800w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/compresion-Gzip-editando-archivo-tema-300x139.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/compresion-Gzip-editando-archivo-tema-768x355.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/compresion-Gzip-editando-archivo-tema-600x278.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/compresion-Gzip-editando-archivo-tema-750x347.jpg.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/compresion-Gzip-editando-archivo-tema-100x46.jpg 100w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/370;\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">A medida que tu sitio se expande, muchos de sus archivos crecen en tama\u00f1o tambi\u00e9n. Este es un resultado natural de a\u00f1adir m\u00e1s contenido, plugins, temas y c\u00f3digo personalizado a tu sitio. Toda esa nueva informaci\u00f3n debe ser almacenada en alg\u00fan lugar.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">La desventaja de los archivos grandes es que a menudo toman m\u00e1s tiempo en cargar cuando tus p\u00e1ginas son accedidas. Esto significa que tus visitantes terminar\u00e1n esperando m\u00e1s tiempo para ver tu contenido \u2014 lo cual <\/span><a href=\"https:\/\/www.dreamhost.com\/blog\/10-ways-to-speed-up-a-dreampress-site\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">nunca es algo bueno<\/span><\/a><span style=\"font-weight: 400;\">. Para tratar con este problema, necesitas encontrar una manera de hacer que los archivos de tu sitio sean m\u00e1s peque\u00f1os sin perder informaci\u00f3n importante.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Esto es exactamente lo que la compresi\u00f3n Gzip hace. Reduce el tama\u00f1o de tus archivos al \u2018comprimirlos\u2019, removiendo los caracteres innecesarios, y reorganizando la informaci\u00f3n m\u00e1s eficientemente.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Si alguna vez has \u2018comprimido\u2019 una carpeta para hacerla m\u00e1s peque\u00f1a, este es un concepto similar. La compresi\u00f3n Gzip puede reducir el tama\u00f1o general de tus p\u00e1ginas <\/span><a href=\"https:\/\/gtmetrix.com\/enable-gzip-compression.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">hasta un 70%<\/span><\/a><span style=\"font-weight: 400;\">, y nada crucial se pierde en el proceso.&nbsp;<\/span><\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-como-habilitar-la-compresion-en-tu-sitio-wordpress-2-metodos\" class=\"wp-block-heading\"><b>C\u00f3mo Habilitar la Compresi\u00f3n en Tu Sitio WordPress (2 M\u00e9todos)<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Hay muchas maneras de <\/span><a href=\"https:\/\/www.dreamhost.com\/blog\/es\/optimiza-velocidad-sitio-web\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">acelerar tu sitio WordPress<\/span><\/a><span style=\"font-weight: 400;\">. Por ejemplo, elegir un <\/span><a href=\"https:\/\/www.dreamhost.com\/es\/wordpress\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">plan de alojamiento optimizado<\/span><\/a><span style=\"font-weight: 400;\"> es clave. Sin embargo, la compresi\u00f3n Gzip puede mejorar la velocidad de tu p\u00e1gina incluso m\u00e1s, entonces vale la pena implementarla.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">A continuaci\u00f3n, te mostraremos 2 maneras de comenzar con la compresi\u00f3n Gzip. Ten en cuenta que lo primero que querr\u00e1s hacer es asegurarte de tener <\/span><a href=\"https:\/\/www.dreamhost.com\/blog\/es\/tutorial-como-crear-copia-seguridad-wordpress\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">una copia de seguridad reciente de tu sitio<\/span><\/a><span style=\"font-weight: 400;\"> como una medida adicional de precauci\u00f3n. Luego, puedes leer ambos m\u00e9todos y elegir el que prefieras.&nbsp;<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-metodo-1-usa-un-plugin\"><b>M\u00e9todo 1: Usa un Plugin<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Puede que luches para encontrar un plugin de calidad exclusivamente dise\u00f1ado para implementar compresi\u00f3n Gzip. Afortunadamente, no necesitas uno. Muchos plugins de optimizaci\u00f3n incluyen una opci\u00f3n de compresi\u00f3n Gzip como parte de su conjunto de funciones.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Para un ejemplo perfecto, echa un vistazo a <\/span><a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP Super Cache<\/span><\/a><span style=\"font-weight: 400;\">:<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"800\" height=\"258\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/plugin-compresion-gzip-supercache.jpg\" alt=\"Plugin de compresi\u00f3n GZip Super Cache\" class=\"wp-image-37338 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/plugin-compresion-gzip-supercache.jpg.webp 800w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/plugin-compresion-gzip-supercache-300x97.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/plugin-compresion-gzip-supercache-768x248.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/plugin-compresion-gzip-supercache-600x194.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/plugin-compresion-gzip-supercache-750x242.jpg.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/plugin-compresion-gzip-supercache-100x32.jpg 100w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/258;\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">Este plugin es principalmente una <\/span><a href=\"https:\/\/www.dreamhost.com\/blog\/es\/guia-almacenamiento-cache-web\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">soluci\u00f3n de cach\u00e9<\/span><\/a><span style=\"font-weight: 400;\">, que es otra manera inteligente de acelerar tu sitio WordPress. Sin embargo, tambi\u00e9n te permite comprimir tus archivos.&nbsp;&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Despu\u00e9s de <\/span><a href=\"https:\/\/help.dreamhost.com\/hc\/es\/articles\/214588698-Instalar-WP-Super-Cache\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">instalar y activar el plugin<\/span><\/a><span style=\"font-weight: 400;\">, tendr\u00e1s que navegar a \u2018<\/span><b><i>Settings &gt; WP Super Cache\u2019<\/i><\/b> <span style=\"font-weight: 400;\">&nbsp;y luego dir\u00edgete a la pesta\u00f1a \u2018<\/span><b><i>Advanced<\/i><\/b><span style=\"font-weight: 400;\">\u2019:<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"800\" height=\"328\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/configuraciones-plugin-supercahce.jpg\" alt=\"Configuraciones de plugin Super cache WordPres\" class=\"wp-image-37339 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/configuraciones-plugin-supercahce.jpg.webp 800w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/configuraciones-plugin-supercahce-300x123.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/configuraciones-plugin-supercahce-768x315.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/configuraciones-plugin-supercahce-600x246.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/configuraciones-plugin-supercahce-750x308.jpg.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/configuraciones-plugin-supercahce-100x41.jpg 100w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/328;\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">Encuentra la opci\u00f3n \u2018<\/span><i><span style=\"font-weight: 400;\">Compress pages\u2019<\/span><\/i><span style=\"font-weight: 400;\"> para que sean servidas m\u00e1s r\u00e1pidamente a los visitantes y selecciona la casilla junto a ella. Luego, haz clic en el bot\u00f3n \u2018<\/span><i><span style=\"font-weight: 400;\">Update Status\u2019<\/span><\/i><span style=\"font-weight: 400;\"> para guardar tus cambios.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Eso es todo lo que debes hacer \u2014 el plugin ahora implementar\u00e1 la compresi\u00f3n Gzip autom\u00e1ticamente.&nbsp;<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-metodo-2-modifica-tu-archivo-htaccess\"><b>M\u00e9todo 2: Modifica Tu Archivo .htaccess<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Mientras que la t\u00e9cnica anterior es la manera m\u00e1s simple de habilitar la compresi\u00f3n Gzip en tu sitio WordPress, algunos usuarios estar\u00e1n m\u00e1s interesados en un m\u00e9todo alternativo. Por ejemplo, si est\u00e1s intentando limitar el n\u00famero de plugins que instalas en tu sitio, puede que prefieras implementar la compresi\u00f3n Gzip manualmente.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Para hacer esto, necesitar\u00e1s usar Secure File Transfer Protocol (SFTP). Te permite acceder directamente (y realizar cambios) a los archivos de sitio&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Si nunca has utilizado SFTP antes, primero querr\u00e1s instalar un cliente apropiado, tal como <\/span><a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">FileZilla<\/span><\/a><span style=\"font-weight: 400;\"> (y desempolvar tus <\/span><a href=\"https:\/\/wordpress.org\/support\/article\/using-filezilla\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">habilidades SFTP<\/span><\/a><span style=\"font-weight: 400;\">). Luego tendr\u00e1s que establecer una conexi\u00f3n a tu sitio <\/span><a href=\"https:\/\/help.dreamhost.com\/hc\/es\/articles\/115000675027-Generalidades-sobre-FTP-y-sus-credenciales\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">empleando las credenciales<\/span><\/a><span style=\"font-weight: 400;\"> proporcionadas por tu compa\u00f1\u00eda de alojamiento.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Una vez que tienes FileZilla configurado, deber\u00eda verse as\u00ed:&nbsp;<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"800\" height=\"246\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/pantalla-filezilla-archivos-ftp.jpg\" alt=\"Captura pantalla conexi\u00f3n FTP en FileZilla\" class=\"wp-image-37340 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/pantalla-filezilla-archivos-ftp.jpg.webp 800w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/pantalla-filezilla-archivos-ftp-300x92.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/pantalla-filezilla-archivos-ftp-768x236.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/pantalla-filezilla-archivos-ftp-600x185.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/pantalla-filezilla-archivos-ftp-750x231.jpg.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/pantalla-filezilla-archivos-ftp-100x31.jpg 100w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/246;\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">En el cuadrante derecho superior, encuentra la carpeta con el nombre de tu dominio y selecci\u00f3nala. Luego, en el cuadrante inferior derecho, busca el archivo llamado <\/span><i><span style=\"font-weight: 400;\">.htaccess<\/span><\/i><span style=\"font-weight: 400;\">. Este es uno de los archivos principales de tu sitio, entonces siempre debes tener mucho cuidado cuando realices cambios en \u00e9l.&nbsp;<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"800\" height=\"158\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/archivo-htaccess-ftp.jpg\" alt=\"Archivo Htaccess a trav\u00e9s de FTP\" class=\"wp-image-37341 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/archivo-htaccess-ftp.jpg.webp 800w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/archivo-htaccess-ftp-300x59.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/archivo-htaccess-ftp-768x152.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/archivo-htaccess-ftp-600x119.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/10\/archivo-htaccess-ftp-750x148.jpg.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/archivo-htaccess-ftp-100x20.jpg 100w\" data-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 800px; --smush-placeholder-aspect-ratio: 800\/158;\" \/><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">Haz clic en el archivo <\/span><i><span style=\"font-weight: 400;\">.htaccess <\/span><\/i><span style=\"font-weight: 400;\">y selecciona la opci\u00f3n \u2018<\/span><i><span style=\"font-weight: 400;\">Download\u2019<\/span><\/i><span style=\"font-weight: 400;\"> para guardarlo en tu computador. Luego abre el archivo en cualquier editor de texto (tal como Notepad) y pega el <\/span><a href=\"https:\/\/gtmetrix.com\/enable-text-compression.html#how-to-enable-text-compression\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">siguiente c\u00f3digo<\/span><\/a><span style=\"font-weight: 400;\">:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-weight: 400;\">&lt;IfModule mod_deflate.c&gt;\n<\/span>\n<span style=\"font-weight: 400;\"># Compress HTML, CSS, JavaScript, Text, XML and fonts<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/javascript<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/rss+xml<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/vnd.ms-fontobject<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-font<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-font-opentype<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-font-otf<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-font-truetype<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-font-ttf<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/x-javascript<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/xhtml+xml<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE application\/xml<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE font\/opentype<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE font\/otf<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE font\/ttf<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE image\/svg+xml<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE image\/x-icon<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE text\/css<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE text\/html<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE text\/javascript<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE text\/plain<\/span>\n<span style=\"font-weight: 400;\">AddOutputFilterByType DEFLATE text\/xml<\/span>\n\n<span style=\"font-weight: 400;\"># Remove browser bugs (only needed for really old browsers)<\/span>\n<span style=\"font-weight: 400;\">BrowserMatch ^Mozilla\/4 gzip-only-text\/html<\/span>\n<span style=\"font-weight: 400;\">BrowserMatch ^Mozilla\/4.0[678] no-gzip<\/span>\n<span style=\"font-weight: 400;\">BrowserMatch bMSIE !no-gzip !gzip-only-text\/html<\/span>\n<span style=\"font-weight: 400;\">Header append Vary User-Agent<\/span>\n\n<span style=\"font-weight: 400;\">&lt;\/IfModule&gt;<\/span><\/pre>\n\n\n\n<p><span style=\"font-weight: 400;\">Recuerda guardar los cambios en el archivo. Despu\u00e9s de eso, puedes subirlo de nuevo a tu sitio al copiar y pegar el archivo de nuevo en la carpeta ra\u00edz de tu sitio (o simplemente arrastr\u00e1ndolo all\u00ed desde tu computador). Ahora que has habilitado la compresi\u00f3n Gzip en tu sitio WordPress manualmente.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Ten en cuenta que este m\u00e9todo es para sitios web con servidores Apache. Si tu sitio corre en NGINX, recomendamos echarle un vistazo a este tutorial sobre c\u00f3mo <\/span><a href=\"https:\/\/www.techrepublic.com\/article\/how-to-configure-gzip-compression-with-nginx\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">habilitar la compresi\u00f3n Gzip con NGINX<\/span><\/a><span style=\"font-weight: 400;\">.&nbsp;<\/span><\/p>\n\n\n\n<h2 id=\"h-acelera-tu-sitio-wordpress-con-compresion-gzip\" class=\"wp-block-heading\"><b>Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Hay muchas maneras de asegurarte de que tu sitio WordPress sea r\u00e1pido y eficiente. Por ejemplo, querr\u00e1s elegir <\/span><a href=\"https:\/\/www.dreamhost.com\/es\/wordpress\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">un plan de alojamiento optimizado<\/span><\/a><span style=\"font-weight: 400;\"> con una reputaci\u00f3n sobre la velocidad. Despu\u00e9s de eso, puedes hacer muchos peque\u00f1os ajustes para maximizar el rendimiento de tu sitio, tal como emplear compresi\u00f3n Gzip para reducir el tama\u00f1o de tus archivos.\u00a0<\/span><span style=\"font-weight: 400;\"><\/span><\/p>\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Haz M\u00e1s Con DreamPress\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      \u00a1Los usuarios de DreamPress Plus y Pro obtienen acceso a Jetpack Professional (y m\u00e1s de 200 temas pr\u00e9mium) sin costo adicional!\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/es\/wordpress\/administrado\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Adquiere Tu Plan Hoy                    <\/a>\n\n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mantener tu sitio funcionando en su mejor velocidad es esencial. Un sitio web r\u00e1pido puede proporcionar un gran impulso a la experiencia de usuario de tu sitio, visibilidad en los motores de b\u00fasqueda, y mejorar tu profesionalismo y confianza.&nbsp; La compresi\u00f3n Gzip es un m\u00e9todo popular para acelerar tu sitio. Mientras que el t\u00e9rmino puede [&hellip;]<\/p>\n","protected":false},"author":1062,"featured_media":37324,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.","toc_headlines":"[[\"h-una-introduccion-a-la-compresion-gzip\",\"Una Introducci\u00f3n a la Compresi\u00f3n Gzip\"],[\"h-como-habilitar-la-compresion-en-tu-sitio-wordpress-2-metodos\",\"C\u00f3mo Habilitar la Compresi\u00f3n en Tu Sitio WordPress (2 M\u00e9todos)\"],[\"h-acelera-tu-sitio-wordpress-con-compresion-gzip\",\"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip\"]]","hide_toc":false,"footnotes":""},"categories":[11668,11683],"tags":[],"class_list":["post-37336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutoriales","category-wordpress-es"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Gu\u00eda Sobre la Compresi\u00f3n Gzip en WordPress - DreamHost<\/title>\n<meta name=\"description\" content=\"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip\" \/>\n<meta property=\"og:description\" content=\"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-06T14:00:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-16T21:04:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-ES.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"629\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jason Cosper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jason Cosper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Gu\u00eda Sobre la Compresi\u00f3n Gzip en WordPress - DreamHost","description":"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/","og_locale":"en_US","og_type":"article","og_title":"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip","og_description":"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2022-10-06T14:00:25+00:00","article_modified_time":"2025-01-16T21:04:31+00:00","og_image":[{"width":1200,"height":629,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-ES.jpg","type":"image\/jpeg"}],"author":"Jason Cosper","twitter_card":"summary_large_image","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Jason Cosper","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/"},"author":{"name":"Jason Cosper","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4"},"headline":"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip","datePublished":"2022-10-06T14:00:25+00:00","dateModified":"2025-01-16T21:04:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/"},"wordCount":979,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-Feature.jpg","articleSection":["Tutoriales","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/","name":"Gu\u00eda Sobre la Compresi\u00f3n Gzip en WordPress - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-Feature.jpg","datePublished":"2022-10-06T14:00:25+00:00","dateModified":"2025-01-16T21:04:31+00:00","description":"La compresi\u00f3n Gzip reduce el tama\u00f1o de tus archivos, removiendo los caracteres innecesarios y organizando la informaci\u00f3n. Aprende m\u00e1s aqu\u00ed.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-Feature.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/10\/GZIP-Compression-Feature.jpg","width":900,"height":599,"caption":"Speed Up Your WordPress Website with Gzip Compression"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/es\/acelera-tu-sitio-wordpress-con-compresion-gzip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"Acelera Tu Sitio WordPress con Compresi\u00f3n Gzip"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4","name":"Jason Cosper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","caption":"Jason Cosper"},"description":"Jason is DreamHost\u2019s WordPress Product Advocate, based out of Bakersfield, CA. He is currently working on making our DreamPress product even better. In his free time, he likes to curl up on the couch and watch scary movies with his wife Sarah and three very small dogs. Follow him on Twitter.","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/jasoncosper\/"}]}},"lang":"es","translations":{"es":37336,"en":37321,"pt":52745,"de":52749,"ru":53923,"uk":53933,"pl":53945,"it":68265,"fr":70188,"nl":70211},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/37336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1062"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=37336"}],"version-history":[{"count":6,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/37336\/revisions"}],"predecessor-version":[{"id":63156,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/37336\/revisions\/63156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/37324"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=37336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=37336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=37336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}