voyager icon indicating copy to clipboard operation
voyager copied to clipboard

wefwef.app fails Lighthouse and Pagespeed tests.

Open nathanielcwm opened this issue 2 years ago • 1 comments

image

One of the recommendations is to enable compression for the Javascript. It appears like the API requests are already served with gzip - but I presume that it's because it's being pulled from lemmy.world which does have gzip compression enabled. Nginx docs for gzip, Nginx docs for brotil

nathanielcwm avatar Jul 02 '23 03:07 nathanielcwm

Hi, thanks!

The long term plan is that once CORS support is merged into lemmy, we can move wefwef out of an express server and onto static hosting (e.g. aws s3). Then we can enable code splitting since outdated chunks will be persisted (there was a bug related to this which is why I disabled code splitting).

TLDR initial content load is not a current priority, especially with service worker used for subsequent loads

aeharding avatar Jul 02 '23 03:07 aeharding