{"id":1835,"date":"2021-08-05T11:36:55","date_gmt":"2021-08-05T11:36:55","guid":{"rendered":"https:\/\/www.wpstaq.com\/?post_type=pagespeedinsights&amp;p=1835"},"modified":"2021-08-05T11:36:55","modified_gmt":"2021-08-05T11:36:55","slug":"efficiently-encode-images","status":"publish","type":"pagespeedinsights","link":"https:\/\/www.wpstaq.com\/gb\/pagespeedinsights\/efficiently-encode-images\/","title":{"rendered":"Efficiently encode images"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"overview\">Overview<\/h2>\n\n\n\n<p>Images and videos likely account for the bulk of your total page size compared to HTML, CSS, or JavaScript files.<\/p>\n\n\n\n<p>If these images are uncompressed, they\u00a0<strong>waste bandwidth<\/strong>\u00a0and\u00a0<strong>increase page load times<\/strong>\u00a0because the browser must spend more time downloading them.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-efficiently-encoding-images-affect-page-performance\">How does efficiently encoding images affect page performance?<\/h2>\n\n\n\n<p>Uncompressed images are likely served at very high quality, resulting in a large file size.<\/p>\n\n\n\n<p>The&nbsp;<em>larger<\/em>&nbsp;the image, the&nbsp;<em>more time<\/em>&nbsp;the browser spends downloading them, further increasing the time your visitors spend waiting for the page to load.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-encode-images\">how to efficiently encode images?<\/h2>\n\n\n\n<p>There are a few strategies to efficiently encode images, such as:<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-manually-compressing-images\">1) Manually compressing images<\/h3>\n\n\n\n<p>You can manually compress images using online tools or software such as Photoshop.<br>This may be time consuming.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-staq-automatically-does-it-for-you\">2) Staq Automatically does it for you!<\/h3>\n\n\n\n<p>Staq can automatically compress png and jpg images and convert them to WebP format as well!<\/p>\n\n\n\n<p>Serving images in next-gen format means serving images in WebP format. Go to&nbsp;<strong>Site Optimizer &gt; Media&nbsp;<\/strong>and click&nbsp;<strong>Serve next-gen images [WebP]&nbsp;<\/strong>and also enable&nbsp;<strong>Rewrite media URLs<\/strong>&nbsp;for the cached file to show WebP images:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><br><br><br><\/p>\n","protected":false},"template":"","class_list":["post-1835","pagespeedinsights","type-pagespeedinsights","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Efficiently encode images - How to fix really quickly with Staq<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Efficiently encode images - How to fix really quickly with Staq\" \/>\n<meta property=\"og:description\" content=\"Overview Images and videos likely account for the bulk of your total page size compared to HTML, CSS, or JavaScript files. If these images are uncompressed, they\u00a0waste bandwidth\u00a0and\u00a0increase page load times\u00a0because the browser must spend more time downloading them. How does efficiently encoding images affect page performance? Uncompressed images are likely served at very high&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/\",\"name\":\"Efficiently encode images - How to fix really quickly with Staq\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\",\"datePublished\":\"2021-08-05T11:36:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/#breadcrumb\"},\"inLanguage\":\"en-gb\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-gb\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/efficiently-encode-images\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PageSpeedInsights\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Efficiently encode images\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-gb\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-gb\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Efficiently encode images - How to fix really quickly with Staq","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/","og_locale":"en_US","og_type":"article","og_title":"Efficiently encode images - How to fix really quickly with Staq","og_description":"Overview Images and videos likely account for the bulk of your total page size compared to HTML, CSS, or JavaScript files. If these images are uncompressed, they\u00a0waste bandwidth\u00a0and\u00a0increase page load times\u00a0because the browser must spend more time downloading them. How does efficiently encoding images affect page performance? Uncompressed images are likely served at very high&hellip;","og_url":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","og_image":[{"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/","url":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/","name":"Efficiently encode images - How to fix really quickly with Staq","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png","datePublished":"2021-08-05T11:36:55+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/#breadcrumb"},"inLanguage":"en-gb","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/"]}]},{"@type":"ImageObject","inLanguage":"en-gb","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/efficiently-encode-images\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"PageSpeedInsights","item":"https:\/\/www.wpstaq.com\/pagespeedinsights\/"},{"@type":"ListItem","position":3,"name":"Efficiently encode images"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-gb"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-gb","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/gb\/wp-json\/wp\/v2\/pagespeedinsights\/1835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/gb\/wp-json\/wp\/v2\/pagespeedinsights"}],"about":[{"href":"https:\/\/www.wpstaq.com\/gb\/wp-json\/wp\/v2\/types\/pagespeedinsights"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/gb\/wp-json\/wp\/v2\/media?parent=1835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}