#SGwebinarVelocidadWPwww.siteground.es @SiteGroundES
Los 12 mejores trucos (o más) de velocidad para WordPress
Fernando Tellado@fernandot
ayudawp.com
Webinar
por
! Infraestructura! Bases de datos! Plugins! Imágenes! Configuración! Optimización! Móvil
@SiteGroundESwww.siteground.es
¿Es WordPress lento?
#SGwebinarVelocidadWP
! Datacenter! Software base! Hardware base! HTTPS / HTTP/2
@SiteGroundESwww.siteground.es
Infraestructura
#SGwebinarVelocidadWP
! Varios centros de datos
! Distribución geolocalizada
@SiteGroundESwww.siteground.es
Infraestructura / Datacenter
#SGwebinarVelocidadWP
! PHP 7! Optimización
@SiteGroundESwww.siteground.es
Infraestructura / Software
#SGwebinarVelocidadWP
! Servidores optimizados
! Aislamiento de cuentas
@SiteGroundESwww.siteground.es
Infraestructura / Hardware
#SGwebinarVelocidadWP
! SSL / HTTPS! Really Simple SSL! HTTP/2
@SiteGroundESwww.siteground.es
Infraestructura / HTTPS / HTTP2
#SGwebinarVelocidadWP¡30% MÁS RAPIDO!
! Optimización
@SiteGroundESwww.siteground.es
Base de datos
#SGwebinarVelocidadWP
define('WP_ALLOW_REPAIR', true);
http://tusitio.es/wp-admin/maint/repair.php
! Contenido estático en CMS
! Dinámica, estática, Memcached
@SiteGroundESwww.siteground.es
Cache
#SGwebinarVelocidadWP
! ¿Cuántos son muchos?
! ¿Menos o mejor?! P3
@SiteGroundESwww.siteground.es
Plugins
#SGwebinarVelocidadWP
! CDN! EWWW! Configuración
WordPress
@SiteGroundESwww.siteground.es
Imágenes
#SGwebinarVelocidadWP
! Responsive! AMP
@SiteGroundESwww.siteground.es
Móvil
#SGwebinarVelocidadWP
! GZIP! Define rutas! Comprime! ZLIB! Define la cache! Conexiones activas! Control versiones
@SiteGroundESwww.siteground.es
Optimización ++
#SGwebinarVelocidadWP
# BEGIN GZIP<ifmodule mod_deflate.c>AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript</ifmodule># END GZIP
define('WP_HOME', 'http://ayudawp.com'); // blog urldefine('WP_SITEURL', 'http://ayudawp.com'); // site urldefine('TEMPLATEPATH', '/ruta/absoluta/a/wp-content/themes/nombredeltema');define('STYLESHEETPATH', '/ruta/absoluta/a/wp-content/themes/nombredeltema');
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript application/x-javascript application/x-httpd-php application/rss+xml application/atom_xml text/javascript
<?phpini_set('zlib.output_compression', 'On');ini_set('zlib.output_compression_level', '1');?>
<ifmodule mod_expires.c>ExpiresActive OnExpiresDefault A3600<filesmatch ".(jpg|JPG|gif|GIF|png|css|ico|js)$">ExpiresDefault "access plus 1 week"</filesmatch></ifmodule>
<ifModule mod_headers.c>Header set Connection keep-alive</ifModule>
function _remove_script_version( $src ){$parts = explode( '?', $src );return $parts[0];}add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
! GTMetrix! Pingdom Tools
@SiteGroundESwww.siteground.es
¿Probamos?
#SGwebinarVelocidadWP
@SiteGroundESwww.siteground.es
¡Gracias!
#SGwebinarVelocidadWP
Fernando Tellado@fernandot
ayudawp.com
Síguenos en@SiteGround_ES
SiteGround España
SiteGround España
@SiteGroundESwww.siteground.es#SGwebinarVelocidadWP
Recommended