Deploying an Angular Store on BigCommerce

Deliver a sub-second Angular website on BigCommerce with Layer0

Angular, a frontend framework created by Google, is a popular solution for building large enterprise websites that plan to scale their site quickly. Overall, Angular offers great runtime performance and is fit to be the backbone for complex, revenue-generating websites with heavy traffic, such as eCommerce and Travel websites.

Angular comes with several key built-in capabilities, including:

  • Code generation: Angular generates code that's highly optimized for JavaScript virtual machines, providing the benefits of hand-written code. HTML templates combined with JavaScript open the door for optimizations that are simply not possible in other frameworks, for example React.
  • Code splitting: Angular apps load quickly, delivering automatic code-splitting. This way, users load code required to render the view they request.
  • Real DOM: Angular uses real DOM, making the framework best suited for websites that do not change frequently. However, the framework is not the best choice for large websites, or those that make frequent updates, such as most eCommerce sites.

BigCommerce is a popular eCommerce platform for small or enterprise size businesses. The platform offers a large variety of both free and paid customizable templates for their traditional server-rendered frontend. Its core features include 12 free templates, a drag-and-drop page builder, a built-in content management system(CMS) with SEO features and image optimization tools along with the ability to tweak HTML and CSS.

BigCommerce has several APIs that let you manage store data and make client-side queries for product information including REST, Storefront, and GraphQL APIs. In terms of performance, the platform has a few built-in features that help businesses deliver a fast and optimized shopping experience. Akamai Image Manager is included with Stencil themes, which will automatically optimize each uploaded image for the best combination of size, quality, and file format suited for each image and device, offloading the artistic transformation of assets to the cloud. There are a few key built-in SEO features, such as the ability to create short URLs and AMP support. Additionally, BigCommerce supports SSR via the Next.js Commerce Integration and provides the ability to build a headless frontend based on APIs.

Layer0 can take you Angular storefront on BigCommerce and bring page loads down to sub-seconds, in a matter of hours. The average website on Layer0 see median speeds of 320ms loads, as measured by Largest Contentful Paint (a critical metric in Core Web Vitals). Layer0 does more than speed up complex sites, it is the Jamstack platform for eCommerce. Layer0makes websites faster for end-users and simpler for frontend developers to maintain. The platform was built specifically for large-scale, database-driven websites such as eCommerce and Travel and brings following benefits: 

  • Pre and just-in-time rendering
  • Zero latency networking via prefetching of data from your product catalog APIs
  • An edge that can be configured natively within your Angular app (CDN-as-JavaScript)
  • Edge rules that can run locally, in pre-prod and production environments  
  • Automated, full-stack preview URLs from GitHub, GitLab, or Bitbucket with every new branch and push
  • Performant split tests at the edge for A/B tests that don't slow down your site
  • Serverless JavaScript that is much easier and more reliable than AWS Lambda

On Layer0, your Angular store on BigCommerce will run instantly but more importantly your developers will be empowered to control edge caching and reduce rework.

If you're currently using Angular, use the this guide to deploy your Angular app on Layer0 and get sub-second loads in as soon as 1 hour of work. 

Deploy in minutes

Moovweb XDN works with all frontends
Deploy freeTakes 2 minutes