{"id":9844,"date":"2024-10-25T08:20:40","date_gmt":"2024-10-25T08:20:40","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=9844"},"modified":"2024-10-25T08:20:42","modified_gmt":"2024-10-25T08:20:42","slug":"what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/","title":{"rendered":"What is Signed Exchange and its effect on Magento 2 eCommerce"},"content":{"rendered":"\n<p>In our previous blog, we learned about <a href=\"https:\/\/cloudkul.com\/blog\/how-to-improve-core-web-vitals-for-opencart-store\/\">Core Web Vitals<\/a> and how we can improve these Web Vitals. Signed Exchanges are also used to improve these Web Vitals in your<a href=\"https:\/\/webkul.com\/ecommerce-marketplaces\/\"> e-commerce store<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a Signed Exchange(SXG)?<\/h2>\n\n\n\n<p>Signed Exchange is a new technique that allows you to authenticate the validity of a web page. <\/p>\n\n\n\n<p>This can be used to find the original publisher of a page, regardless of where the content is served from. <\/p>\n\n\n\n<p>This allows browsers to safely display the original URL rather than the hostname of the computer that provided the bytes to the browser in the URL bar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Signed Exchange Work?<\/h2>\n\n\n\n<p>This allows a publisher to sign a single HTTP exchange (i.e., a request\/response pair) so that it can be served by any caching server.<\/p>\n\n\n\n<p>Signed Exchanges work by digitally sealing web content, like a virtual signature, to ensure its origin and authenticity.<\/p>\n\n\n\n<p>Because the signature in the exchange is adequate proof that the information originated from the publisher&#8217;s origin, the browser can safely show the publisher&#8217;s URL.<\/p>\n\n\n\n<p>A Signed Exchange is a <strong>binary-encoded file<\/strong> that has <strong>two main elements:<\/strong> an HTTP exchange and a signature. A request URL, content negotiation information, and an HTTP response make up the HTTP exchange.<\/p>\n\n\n\n<p><strong>Supported Browsers &#8211;<\/strong> Chrome 73, Edge 79, and Opera 64 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements for Signed Exchange &#8211; <\/h2>\n\n\n\n<p>To implement a Signed Exchange,  follow the below requirements &#8211; <\/p>\n\n\n\n<ul>\n<li>Signed Exchange doesn&#8217;t work on HTTP, So your website must use HTTPS, which provides a secure connection between the server and the user browser.<\/li>\n\n\n\n<li>Your<a href=\"https:\/\/cloudkul.com\/blog\/need-of-ssl-in-e-commerce-store\/\"> SSL\/TLS certificates<\/a> should be up-to-date and trusted by browsers.<\/li>\n\n\n\n<li>Every six weeks, the packager must be updated.<\/li>\n\n\n\n<li>A shared storage filesystem that is persistent across all <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">amppackager<\/mark><\/strong> instances in the same data center.<\/li>\n\n\n\n<li>The ability to construct AMP-signed exchanges using <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">amppackager<\/mark><\/strong>, a<strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"> <\/span><\/strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"><strong>Go binary<\/strong>,<\/mark> or a<strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"> <\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Docker VM<\/mark><\/strong>.<\/li>\n\n\n\n<li>The amppackager-running system must be able to send outgoing network requests to:\n<ul>\n<li>The certificate authority that issues your certificate.<\/li>\n\n\n\n<li>The publisher server that hosts the AMP documents to sign.<\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">cdn.ampproject.org <\/mark><\/strong>to obtain the current version of AMP.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Effects of Signed Exchange on Magento 2<\/h2>\n\n\n\n<p>Signed Exchange has these impacts on our <a href=\"https:\/\/webkul.com\/magento-development\/\">Magento 2 store<\/a> &#8211; <\/p>\n\n\n\n<ul>\n<li>Because of their privacy advantages over non-SXG formats, SXGs are excellent for prefetching.<\/li>\n\n\n\n<li>Publishers can use Signed Exchanges (SXG) to make their information portable while maintaining its integrity and attribution.<\/li>\n\n\n\n<li>A SXG is only valid for 7 days at most. If an SXG&#8217;s expiration date is more than 7 days away, the browser will reject it.<\/li>\n\n\n\n<li>Serving content as SXG may result in considerable performance benefits for sites that receive a lot of traffic from Google Search.<\/li>\n\n\n\n<li>When accessible, Google Search began connecting to signed AMP pages provided by Google&#8217;s cache. This allows content to be prefetched without compromising privacy.<\/li>\n\n\n\n<li>You can use the URL Inspection Tool to see if any SXG-related errors arise on the AMP portion of the analysis to assist in verifying that a certain page is delivered using SXG.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Google Search may prefetch your information via signed exchanges (SXG) while maintaining the user&#8217;s privacy. <\/p>\n\n\n\n<p>In reality, this implies that if the related website supports SXG, both AMP and non-AMP results displayed on Google Search may prefetch a few important resources in a privacy-preserving manner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Need Support?<\/h2>\n\n\n\n<p>Thank You for reading this Blog!<\/p>\n\n\n\n<p>For further more interesting blogs, keep in touch with us. If you need any kind of support, simply raise a ticket at&nbsp;<strong><em><a href=\"https:\/\/webkul.uvdesk.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/webkul.uvdesk.com\/en\/<\/a>.<\/em><\/strong> Also, visit our useful <strong><a href=\"https:\/\/store.webkul.com\/Magento-2.html\">Magento 2 Extensions.<\/a><\/strong><\/p>\n\n\n\n<p><strong>For further help or queries, please\u00a0<a href=\"https:\/\/cloudkul.com\/contact\/\">contact<\/a>\u00a0us or raise a\u00a0<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\">ticket<\/a>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous blog, we learned about Core Web Vitals and how we can improve <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,87,20,341,340],"tags":[90,597,147,231,602,603,595],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul<\/title>\n<meta name=\"description\" content=\"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-25T08:20:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-25T08:20:42+00:00\" \/>\n<meta name=\"author\" content=\"Tanya Garg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/CloudWebkul\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\",\"name\":\"What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2024-10-25T08:20:40+00:00\",\"dateModified\":\"2024-10-25T08:20:42+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/65b93d1aa584abd012eb60a25839b984\"},\"description\":\"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Signed Exchange and its effect on Magento 2 eCommerce\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/65b93d1aa584abd012eb60a25839b984\",\"name\":\"Tanya Garg\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9ea334eba6adf9dfe79873bc0bee8dad?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9ea334eba6adf9dfe79873bc0bee8dad?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Tanya Garg\"},\"description\":\"Business Developer Executive at Webkul\",\"sameAs\":[\"https:\/\/cloudkul.com\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/CloudWebkul\"],\"url\":\"https:\/\/cloudkul.com\/blog\/author\/tanyagarg-bd037\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul","description":"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.","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:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/","og_locale":"en_US","og_type":"article","og_title":"What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul","og_description":"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.","og_url":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/","og_site_name":"Cloudkul","article_published_time":"2024-10-25T08:20:40+00:00","article_modified_time":"2024-10-25T08:20:42+00:00","author":"Tanya Garg","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/CloudWebkul","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/","url":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/","name":"What is Signed Exchange and its effect on Magento 2 eCommerce - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2024-10-25T08:20:40+00:00","dateModified":"2024-10-25T08:20:42+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/65b93d1aa584abd012eb60a25839b984"},"description":"Signed Exchange is a new technique that allows you to authenticate the validity of a web page.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/what-is-signed-exchange-and-its-effect-on-magento-2-ecommerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What is Signed Exchange and its effect on Magento 2 eCommerce"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/65b93d1aa584abd012eb60a25839b984","name":"Tanya Garg","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9ea334eba6adf9dfe79873bc0bee8dad?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9ea334eba6adf9dfe79873bc0bee8dad?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Tanya Garg"},"description":"Business Developer Executive at Webkul","sameAs":["https:\/\/cloudkul.com\/","https:\/\/twitter.com\/https:\/\/twitter.com\/CloudWebkul"],"url":"https:\/\/cloudkul.com\/blog\/author\/tanyagarg-bd037\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/9844"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=9844"}],"version-history":[{"count":30,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/9844\/revisions"}],"predecessor-version":[{"id":18372,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/9844\/revisions\/18372"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=9844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=9844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=9844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}