aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

Module size optimization for production

Open peterwiebe opened this issue 1 year ago • 1 comments

I am working on a project that has 10s of millions of visitors per month and we are trying to optimize the first load experience. One of the biggest issues we are experiencing on the web is the amount of JavaScript that is required on first load. We have identified that the AWS utilities for connecting to appsync is heavy and ultimately required on all pages of our site.

I have included a screenshot, for reference, of the cost of using these utilities - we need to either shrink these packages or replace them with something more efficient. Screenshot 2024-02-15 at 11 26 31 AM

peterwiebe avatar Feb 15 '24 16:02 peterwiebe

Hi! @peterwiebe did you manage to find an alternate solution to your problem? I'm also looking to reduce module size in production. 🧐

daweto avatar May 15 '24 13:05 daweto