Download - Need for Speed - Gear Up Your WordPress
![Page 1: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/1.jpg)
Need for SpeedGear up Your WordPress
![Page 2: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/2.jpg)
Hristo Pandjarov
WordPress Tutorials WordPress Themes WordPress Plugins WordPress Optimization Trying not to look ridiculous in front of people
Work at SiteGround doing:
@pandjarov
![Page 3: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/3.jpg)
Better user experience
Better rankings
Lower hosting expenses
Why bother optimizing
![Page 4: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/4.jpg)
Benchmark loading times
Pinpoint performance issues
Prioritise problems
Start optimizing
Make a plan… and follow it!
![Page 6: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/6.jpg)
Too many posts on the homepage
Too many Social widgets
Too many external fonts used
Large/unoptimized Images
Themes with too many unused features
Too much CSS/JS
No static content compression
No caching
No CDN
Common problems… completely unordered!
![Page 7: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/7.jpg)
Prioritise problems
Sort performance issues by their severity
Sort them by the time you need to fix them
Cross-reference the two lists
![Page 8: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/8.jpg)
Make a scroll map test ( crazyegg.com )
Reduce the number of posts per page
Progressive page loading (infinite scroll)
… matters!Page size
![Page 9: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/9.jpg)
Social media widgets/plugins… use them wisely!
Avoid using iframes
Try not to use “Share on 100 social networks” services
Avoid using more than one social plugin
![Page 10: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/10.jpg)
External fonts… trust me, you don’t need 8 fonts on your site!
Include only fonts you use, on the pages you use them
Put fonts on your local server and include locally
Sacrifice the usage of a font for a better site performance
![Page 11: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/11.jpg)
Images… the right size and the right quality
Use images with the right size and specify their dimensions
Smush your images: http://wordpress.org/plugins/wp-smushit/
Use sprites in your themes
![Page 12: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/12.jpg)
Avoid bloated themes… really, cut the fat!
Avoid themes that support every possible website idea
Don’t use all theme features on the same page
Make sure that the JavaScript and CSS is loaded only when needed
![Page 13: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/13.jpg)
Minify your CSS and JS… the smaller the size, the better!
Try using WP Minify: http://wordpress.org/plugins/wp-minify/
If you’re already using it, enable minify options in W3 Total Cache
![Page 14: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/14.jpg)
Enable gZIP compression… for HTML, CSS and JavaScript!
Use .htaccess rules instead of plugins: http://kb.siteground.com/enable-gzip-via-htaccess/
![Page 15: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/15.jpg)
Leverage browser caching… whatever that means!
The .htaccess rules: http://kb.siteground.com/leverage-browser-caching/
![Page 16: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/16.jpg)
Use a CDN service… but do it wisely!
Measure if your site is working faster
Even local business can take advantage by the CDN
Bonus: “Always Online ” service
![Page 17: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/17.jpg)
Cache your content… if you don’t cache your content that’s bad and you should feel bad!
Use opcode caching - АPC, xCache
Use Memcached object caching
Use reverse proxies like Varnish, nGinx
![Page 18: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/18.jpg)
![Page 19: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/19.jpg)
Thank you!@pandjarov / [email protected]
Read this presentation on SlideShare:
http://www.slideshare.net/siteground
![Page 20: Need for Speed - Gear Up Your WordPress](https://reader034.vdocuments.mx/reader034/viewer/2022042607/554ba87ab4c905b8618b51dc/html5/thumbnails/20.jpg)
Resources:http://tools.pingdom.com
http://loadimpact.com
http://gtmetrix.com
http://crazyegg.com
http://wordpress.org/plugins/wp-smushit/
http://kb.siteground.com/enable-gzip-via-htaccess/
http://checkgzipcompression.com
http://kb.siteground.com/leverage-browser-caching/