Coz speed matters (WordPress Optimization)

Preview:

DESCRIPTION

The slides presented by me in WordCamp Nepal 2014 which was organized by WordPress Nepal Community

Citation preview

1

COZ SPEED MATTERSSakar Upadhyaya Khatiwada ( @sakaruk )

Why?

3

Marissa Mayer ( then VP of google ), shared results on

web 2.0 conference 2009

that

delay of 0.5 secdropped the traffic by

20%

4

In 2006, Amazon

reported that a

100-millisecond increase

in page speed

resulted to a

1% increase in its revenue.

5

Akamai study 2009 shows47% of visitors expect a page to

load in under 2 seconds,And

57% of visitors will abandon a page that takes more than

3 seconds to load.

6

Google announced in a blog post that

its algorithm takes page speed

into account when rankingwebsites.

7

Why speed up?

8

Better user experience

9

Search engine ranking

10

Higher Conversion Rate

11

For visitors retention

12

Why its slows?

13

Web Hosting

14

Size of Graphics

15

Number of HTTP requests

16

Server Loads

17

WordPress Configurations

18

Software Performance

19

How to test?

20

Pingdom

21

Google Developers : PageSpeed Insights

22

Yahoo! Yslow

23

GTMetrix

24

How to speed up?

25

Preventive

26

Reduce files

27

Secondary files in end

28

Object and Query Caching

29

Sometimes hardcode is good

30

Follow the standards

31

Curative

32

To Plugins

33

Less Plugins

34

Reliable Plugins

35

Monitor pluginsP3 Profiler

36

To Theme

37

Reliable sources

38

Reduce ImagesWP Smush.it, EWWW Image Optimizer,

CW Image Optimizer

39

Reduce FilesWP Minify, Better WordPress Minify,

W3 Total Cache

40

To Whole Site

41

Right hosting

42

Caching & CompressionW3 Total Cache, WP Super Cache

43

Use CDN MaxCDN, CloudFlare, jsDelivr

44

Reduce Post Revisions, Drafts, Spams

WP Optimize, WP-DBManager

45

Empty Your Trashdefine ('EMPTY_TRASH_DAYS', 0);

46

Stay Updated

47

References• http://codex.wordpress.org/WordPress_Optimization• http://www.akamai.com/html/about/press/releases/2009/press_091409.html• http://googlewebmastercentral.blogspot.com.au/2010/04/using-site-speed-in-web-

search-ranking.html• http://www.montparnas.com/articles/more-evidence-that-speed-is-key-to-user-

experience/• http://www.copyblogger.com/website-speed-matters/• http://www.elegantthemes.com/blog/tips-tricks/optimize-your-wordpress-website• http://www.sitepoint.com/speed-wordpress/• http://www.wpbeginner.com/wp-tutorials/how-to-move-javascripts-to-the-bottom-or-

footer-in-wordpress/• http://premium.wpmudev.org/blog/10-best-image-optimization-plugins-to-speed-up-

your-wordpress-site/• http://www.siteground.com/tutorials/wordpress/optimize_wordpress.htm• http://www.wpexplorer.com/free-cdn-services-for-wordpress/• http://www.wpexplorer.com/wordpress-caching/• http://www.elegantthemes.com/blog/tips-tricks/eight-useful-code-snippets-for-

wordpress• http://www.tailored4wp.com/get-a-better-performance-with-wordpress-transients-api-

501/• http://codex.wordpress.org/Options_API

48

THANK YOU!Any Queries ??

(@sakaruk)

Recommended