{"id":29915,"date":"2022-03-04T05:57:02","date_gmt":"2022-03-04T05:57:02","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/"},"modified":"2024-09-23T07:20:07","modified_gmt":"2024-09-23T07:20:07","slug":"enable-next-gen-cdn-instructions","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/sg\/knowledgebase\/enable-next-gen-cdn-instructions\/","title":{"rendered":"Enable Next-Gen CDN Instructions"},"content":{"rendered":"<p>This is a game changer feature of Staq. It improves both security and performance.<\/p>\n<p>The Staq Next-Gen CDN is a reverse proxy. How it works is this.<\/p>\n<p>A reverse proxy, in our case, AWS CloudFront (CDN) sits in front of the server. Each request that is made goes to AWS CloudFront instead of the server. This improves security because AWS CloudFront have a product called AWS Shield which protects against harmful attacks. Also, the pages that is accessible via AWS CloudFront are static in nature.<\/p>\n<p>It&#8217;s also fast because the website is cached inside AWS CloudFront and is stored across the AWS ecosystem. Wherever search engine bots and users are, the website is served from the closest location instead of using the server.<\/p>\n<p>Staq intelligently reroutes request from AWS CloudFront back to the server if a server request is required i.e. a WooCommerce order or a contact form submission.<\/p>\n<p>Below, are instructions on how to enable this game changer feature.<\/p>\n<h2><strong>Enabling Next-Gen CDN<\/strong><\/h2>\n<p>You can only enable this feature if Staq DNS has been enabled. For more information, see information on <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-take-a-website-live\">how to transfer to Staq DNS<\/a>.<\/p>\n<p>Go to Staq Panel for the website in question and click\u00a0<strong>CDN<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10120\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/03\/1-select-cdn-1024x594.png\" alt=\"\" width=\"1024\" height=\"594\" \/><\/p>\n<h2><strong>Deploy Next-Gen CDN<\/strong><\/h2>\n<p>Under Next-Gen CDN, click\u00a0<strong>Deploy Now<\/strong>. From this point, you do not have to do anything. Staq will automatically configure everything in the background. Below are messages that you will see in order to see the progress.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10126\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/03\/2-Next-Gen-CDN.png\" alt=\"\" width=\"910\" height=\"545\" \/><\/p>\n<h3><strong>Validating SSL Certificate<\/strong><\/h3>\n<p>Moments later, you should see <strong>Validating SSL\u00a0<\/strong><b>Certificate<\/b>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10138\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/03\/4-Validating-SSL.png\" alt=\"\" width=\"925\" height=\"594\" \/><\/p>\n<p>Within a few minutes, the progress should go to the last step which is\u00a0<strong>Deploying CDN<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10144\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/03\/5-Deploy-CDN.png\" alt=\"\" width=\"876\" height=\"581\" \/><\/p>\n<p>Within 5 minutes, you should see a green tick:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10150\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/03\/6-Complete.png\" alt=\"\" width=\"972\" height=\"524\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Please note<\/h2>\n<p>Please note that Next-Gen CDN is not compatible if you wish to use a custom SSL certificate, something like ZeroSSL and others.<\/p>\n","protected":false},"featured_media":29609,"parent":0,"template":"","class_list":["post-29915","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-cdn-aws"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress<\/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\/knowledgebase\/enable-next-gen-cdn-instructions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"This is a game changer feature of Staq. It improves both security and performance. The Staq Next-Gen CDN is a reverse proxy. How it works is this. A reverse proxy, in our case, AWS CloudFront (CDN) sits in front of the server. Each request that is made goes to AWS CloudFront instead of the server.&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/\" \/>\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=\"article:modified_time\" content=\"2024-09-23T07:20:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/\",\"name\":\"Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"datePublished\":\"2022-03-04T05:57:02+00:00\",\"dateModified\":\"2024-09-23T07:20:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/enable-next-gen-cdn-instructions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enable Next-Gen CDN Instructions\"}]},{\"@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-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@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":"Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress","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\/knowledgebase\/enable-next-gen-cdn-instructions\/","og_locale":"en_US","og_type":"article","og_title":"Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress","og_description":"This is a game changer feature of Staq. It improves both security and performance. The Staq Next-Gen CDN is a reverse proxy. How it works is this. A reverse proxy, in our case, AWS CloudFront (CDN) sits in front of the server. Each request that is made goes to AWS CloudFront instead of the server.&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2024-09-23T07:20:07+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/","name":"Enable Next-Gen CDN Instructions - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","datePublished":"2022-03-04T05:57:02+00:00","dateModified":"2024-09-23T07:20:07+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/enable-next-gen-cdn-instructions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"Enable Next-Gen CDN Instructions"}]},{"@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-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@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\/sg\/wp-json\/wp\/v2\/knowledgebase\/29915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media\/29609"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=29915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}