{"id":166,"date":"2017-05-17T13:06:32","date_gmt":"2017-05-17T13:06:32","guid":{"rendered":"http:\/\/themes.themegoods.com\/grandwedding\/doc\/?p=166"},"modified":"2017-05-17T13:06:47","modified_gmt":"2017-05-17T13:06:47","slug":"how-to-speed-up-your-site-using-plugins","status":"publish","type":"post","link":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/how-to-speed-up-your-site-using-plugins\/","title":{"rendered":"How to speed up your site using plugins"},"content":{"rendered":"<p><strong>Image Optimise Plugin<\/strong><\/p>\n<p>Adding images to your content sometime causes site to load slowly. Here is\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer\/\" target=\"_blank\" rel=\"noopener noreferrer\">EWWW Image Optimizer<\/a>\u00a0it helps optimise and compress your images files size without loosing quality.<\/p>\n<p><strong>IMPORTANT:<\/strong> If you already have image uploaded and install\u00a0EWWW Image Optimizer. Please run <a href=\"https:\/\/wordpress.org\/plugins\/regenerate-thumbnails\/\" target=\"_blank\" rel=\"noopener noreferrer\">Regenerate Thumbnails plugin<\/a> so your previous uploaded images are optimised.<\/p>\n<p><strong>Recommended Image Size<\/strong><\/p>\n<p>For better loading speed without loosing image quality. We recommend uploaded image dimension no larger than 1440&#215;900 px.<\/p>\n<p><strong>Caching Plugin<\/strong><\/p>\n<p>You can use 3rd party plugin to add caching to your WordPress site. It helps speed up response time to your visitors. Here are 2 plugins we recommend.<\/p>\n<ol>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener noreferrer\">W3 Total Cache<\/a>\u00a0&#8211; Recommend for advanced user with many more options.<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener noreferrer\">WP Super Cache<\/a> &#8211; Easy to setup caching plugin. Recommend for normal user.<\/li>\n<\/ol>\n<p><strong>Leverage Browser Caching<\/strong><\/p>\n<p>Setting an expiry date or a maximum age for static resources ex. images to instructs the browser to load previously downloaded resources from local disk rather than over the network.\u00a0To do\u00a0this simply add cache-control headers to origin server by adding the following code to server <strong>.htaccess<\/strong> file.<\/p>\n<pre>&lt;filesMatch \".(ico|pdf|flv|jpg|svg|jpeg|png|gif|js|css|swf)$\"&gt;\r\n Header set Cache-Control \"max-age=84600, public\"\r\n \r\n<\/pre>\n<p><strong>Enable Compression<\/strong><\/p>\n<p>You can enable compression by adding the following to server<strong> .htaccess<\/strong> file.<\/p>\n<pre>  # Compress HTML, CSS, JavaScript, Text, XML and fonts\r\n  AddOutputFilterByType DEFLATE application\/javascript\r\n  AddOutputFilterByType DEFLATE application\/rss+xml\r\n  AddOutputFilterByType DEFLATE application\/vnd.ms-fontobject\r\n  AddOutputFilterByType DEFLATE application\/x-font\r\n  AddOutputFilterByType DEFLATE application\/x-font-opentype\r\n  AddOutputFilterByType DEFLATE application\/x-font-otf\r\n  AddOutputFilterByType DEFLATE application\/x-font-truetype\r\n  AddOutputFilterByType DEFLATE application\/x-font-ttf\r\n  AddOutputFilterByType DEFLATE application\/x-javascript\r\n  AddOutputFilterByType DEFLATE application\/xhtml+xml\r\n  AddOutputFilterByType DEFLATE application\/xml\r\n  AddOutputFilterByType DEFLATE font\/opentype\r\n  AddOutputFilterByType DEFLATE font\/otf\r\n  AddOutputFilterByType DEFLATE font\/ttf\r\n  AddOutputFilterByType DEFLATE image\/svg+xml\r\n  AddOutputFilterByType DEFLATE image\/x-icon\r\n  AddOutputFilterByType DEFLATE text\/css\r\n  AddOutputFilterByType DEFLATE text\/html\r\n  AddOutputFilterByType DEFLATE text\/javascript\r\n  AddOutputFilterByType DEFLATE text\/plain\r\n  AddOutputFilterByType DEFLATE text\/xml\r\n\r\n  # Remove browser bugs (only needed for really old browsers)\r\n  BrowserMatch ^Mozilla\/4 gzip-only-text\/html\r\n  BrowserMatch ^Mozilla\/4\\.0[678] no-gzip\r\n  BrowserMatch \\bMSIE !no-gzip !gzip-only-text\/html\r\n  Header append Vary User-Agent<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Image Optimise Plugin Adding images to your content sometime causes site to load slowly. Here is\u00a0EWWW Image Optimizer\u00a0it helps optimise and compress your images files size without loosing quality. IMPORTANT: If you already have image uploaded and install\u00a0EWWW Image Optimizer. Please run Regenerate Thumbnails plugin so your previous uploaded images are optimised. Recommended Image Size [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[101,102,103,104],"_links":{"self":[{"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/posts\/166"}],"collection":[{"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":1,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":167,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/posts\/166\/revisions\/167"}],"wp:attachment":[{"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themes.themegoods.com\/grandwedding\/doc\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}