joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Warn developers when files in /public exceed 10MB

Open rglover opened this issue 2 years ago • 0 comments

The ideal pattern for public files is to keep it light and to only what's needed for the UI. Anything > 10MB is likely a file that should be moved off to a CDN (e.g., S3/CloudFront).

There's also a built-in payload limit for Joystick apps deployed with Push, so this foreshadows that while encouraging solid practices.

Do it at the joystick.js/node level so it's more of a nag. This way it will actually be handled and not ignored till the last minute.

rglover avatar Sep 13 '23 21:09 rglover