The Dark Side of the WordPress Speed Optimizations

20
Hristo Pandjarov expert at @pandjarov

description

Hristo Pandjarov at WordCamp Europe 2014 talking about the issues you can face when you optimize your site for better speed.

Transcript of The Dark Side of the WordPress Speed Optimizations

Page 1: The Dark Side of the WordPress Speed Optimizations

Hristo Pandjarovexpert at

@pandjarov

Page 2: The Dark Side of the WordPress Speed Optimizations

The speed of your WordPress site matters.

Page 3: The Dark Side of the WordPress Speed Optimizations

…but there are traps.

Page 4: The Dark Side of the WordPress Speed Optimizations
Page 5: The Dark Side of the WordPress Speed Optimizations

Reverse ProxiesNGINX & Varnish

Page 6: The Dark Side of the WordPress Speed Optimizations

Reverse ProxiesNGINX & Varnish

• Don’t cache user-specific pages• Shopping carts• Forums• Social plugins

• Don't cache wp-cron.php• Check mobile versions

Page 7: The Dark Side of the WordPress Speed Optimizations

File Caching with plugins

Page 8: The Dark Side of the WordPress Speed Optimizations

• All reverse proxies traps• Check the number of files

File Caching with plugins

Page 9: The Dark Side of the WordPress Speed Optimizations

Object CachingMemcached, Redis, APC

Page 10: The Dark Side of the WordPress Speed Optimizations

Object CachingMemcached, Redis, APC

• Make sure it actually speeds-up your site

• Have enough memory

Page 11: The Dark Side of the WordPress Speed Optimizations

gZIP Compressionplugins & server rules

Page 12: The Dark Side of the WordPress Speed Optimizations

gZIP Compressionplugins & server rules

• Don’t double compress pages

Page 13: The Dark Side of the WordPress Speed Optimizations

CDN Serviceimplementation

Page 14: The Dark Side of the WordPress Speed Optimizations

CDN Serviceimplementation

• Check if cache is purged often enough

Page 15: The Dark Side of the WordPress Speed Optimizations

Image Optimizationplugins & services

Page 16: The Dark Side of the WordPress Speed Optimizations

Image Optimizationplugins & services

• Be careful with mass images edit

Page 17: The Dark Side of the WordPress Speed Optimizations

CSS & JS Combinationplugins or services

Page 18: The Dark Side of the WordPress Speed Optimizations

• Double check your design & functionality• Check the mobile version of your site

CSS & JS Combinationplugins or services

Page 19: The Dark Side of the WordPress Speed Optimizations

Over the Slides Are!Questions do you have any?

Page 20: The Dark Side of the WordPress Speed Optimizations

Thank you!(slides at slideshare.net/siteground)

Images from http://starwars.wikia.com