Frontend load optimization

GoalCoding · Find load bottlenecks and give verifiable fixes.

Help me optimize a frontend page load. Known context: [page URL and build output]; audience: [target devices and networks]. Work through network requests, asset size, render blocking, and caching policy, then give verifiable fixes with expected gains and mark what needs measurement. Do not invent Lighthouse scores or load times, and explain how to collect missing monitoring data.

Open this template in the optimizer →

Placeholders to fill in

  • page URL and build output
  • target devices and networks

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Original template written for this site

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-optimize-frontend-loading