This article provides a fix for blockers to launching on Adobe Commerce on cloud infrastructure including issues related to Fastly config, SSL certificates, 301 redirects, and static asset performance.
Fastly is a Varnish-based Content Delivery Network (CDN) for serving static assets. It is required for Adobe Commerce on cloud infrastructure on Production environments, so it’s important to configure Fastly and test your website (UAT) with Fastly enabled and configured – on both Staging and Production environments.
With Full Page Cache (FPC) enabled, your website performs differently; make sure you test it before going live.
The process of Fastly configuration is documented in detail in the Set up Fastly topic in our user guide. Below are the important steps.
Make sure you have the most recent version of the Fastly module installed to get the latest features and improvements. To check if you have the latest version of Fastly, review Upgrade the Fastly module in our user guide. For more details, review Set up Fastly in our user guide.
For more details, review Get your Fastly credentials in our user guide.
For more details, see Upload VCL to Fastly in our user guide.
You can also create and add own custom VCL snippets.
Refer to this article for detailed steps: Set up Fastly in our user guide.
Problem: Without a valid and working SSL certificate, you cannot test external payment methods on the Checkout page – on the Staging environment.
Recommendation : Request your shared SSL certificate for Staging or Live domain names.
Read about SSL certificates in this Quick FAQ article in our support knowledge base.
Problem: 301 redirects are not provided or poorly configured, causing your store drop in SEO rankings and search listings.
Recommendation : Carefully configure and test the 301 redirects.
In case you’re migrating from an old website to a new one, the 301 redirects lead your customers from the previously indexed old pages to the proper pages on your new store, like this:
http://www.mywebsite.com/old-category-page.html > http://www.mywebsite.com/new-seo-friendly-category-page.html
Problem: Static assets are served slowly so your site has poor performance (long load time, multimedia content not displayed, etc). Static assets of your website are CSS resources, images, videos, attached documents and much more. The way they are organized and served is a key factor in the performance of your site.
Recommendation: To identify possible causes of poor performance consider using Adobe Commerce Performance Toolkit for performance testing. You could also consider these third-party tools: