mitre-attack / mitre-attack/attack-website

Search bundle exceeds recommended limit

Open
#517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
588
Forks
174
Avg merge
13d 4h
Merged PRs (30d)
2

Description

When building the website, webpack will throw the following warning:

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  search_bundle.js (401 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (401 KiB)
      search_bundle.js

While it does not impede the ability to compile the search bundle nor effect its operation, it may impact performance; in particular, during the initial download. We should explore methods to either reduce its size or break it up into chunks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the website webpack build and inspect the reported search_bundle.js and main entrypoint sizes. Explore ways to reduce the bundle or split it into chunks, then verify that the build no longer exceeds the recommended limit without affecting search operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
webpack
Domain
frontend, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.