wagtailyoast icon indicating copy to clipboard operation
wagtailyoast copied to clipboard

Large staticfiles directory

Open PetrDlouhy opened this issue 2 years ago • 7 comments

In the static/wagtailyoast/dist directory there are js/css files for all the versions (0.0.1 - 0.0.9). Especially the yoastanalysis0.0.x.js and yoastworker0.0.x.js files are quite large and having them 9x makes the whole directory to be 39 MB large. This slows down the whole collectatic process for my application (I use whitenoise with static files compression) and makes the distribution package unnecessarily huge and slows down the whole deplyment process.

Are the old versions of those libraries really needed?

PetrDlouhy avatar Dec 14 '21 06:12 PetrDlouhy