Skip to content

Network rules

Total rules: 22

Rules

ECO-CMP-JS-002 — Polling instead of events

Polling increases unnecessary network traffic and compute.

  • Category: CMP
  • Family: JS

ECO-CMP-JS-006 — Over-fetching API responses

Returning unused fields increases payload size and wasted processing.

  • Category: CMP
  • Family: JS

ECO-CMP-JS-007 — Missing HTTP caching headers (client-side)

Missing cache headers causes repeated downloads and wasted bandwidth.

  • Category: CMP
  • Family: JS

ECO-CMP-JS-010 — Missing request timeout

Requests without timeouts hang and create cascading latency.

  • Category: CMP
  • Family: JS

ECO-CMP-JS-012 — Redundant API calls in component lifecycle

Repeated fetches on rerender waste network and CPU.

  • Category: CMP
  • Family: JS

ECO-CMP-JS-013 — Uncompressed static assets

Serving assets without compression increases bandwidth and energy use.

  • Category: CMP
  • Family: JS

ECO-CMP-PY-006 — Missing network timeout

Network calls without explicit timeouts can hang and cascade failures.

  • Category: CMP
  • Family: PY

ECO-NET-NET-001 — Missing HTTP caching headers

Missing cache headers causes repeated downloads and wasted work.

  • Category: NET
  • Family: NET

ECO-NET-NET-002 — No gzip/brotli compression

Serving text assets without compression increases bandwidth and energy use.

  • Category: NET
  • Family: NET

ECO-NET-NET-003 — Chatty microservice communication

Many small calls increase latency and cross-service overhead.

  • Category: NET
  • Family: NET

ECO-NET-NET-004 — Redundant authentication calls

Repeated auth calls waste CPU and network and add latency.

  • Category: NET
  • Family: NET

ECO-NET-NET-005 — Missing timeouts

Missing timeouts remove a critical reliability boundary for network calls.

  • Category: NET
  • Family: NET

ECO-NET-NET-006 — No connection reuse (keep-alive disabled)

Disabling keep-alive increases handshake overhead and latency.

  • Category: NET
  • Family: NET

ECO-NET-NET-007 — Excessive retry storms

Aggressive retries amplify failures and increase waste.

  • Category: NET
  • Family: NET

ECO-NET-NET-008 — Over-fetching API fields

Returning unnecessary fields increases payload size and processing.

  • Category: NET
  • Family: NET

ECO-NET-NET-009 — Under-fetching causing follow-up calls

Responses missing needed data cause extra round trips.

  • Category: NET
  • Family: NET

ECO-NET-NET-010 — Large payloads without pagination

Large unpaginated responses increase memory and bandwidth waste.

  • Category: NET
  • Family: NET

ECO-NET-NET-011 — No CDN usage for static content

Serving static content from origin increases latency and origin load.

  • Category: NET
  • Family: NET

ECO-NET-NET-012 — No HTTP/2 or HTTP/3 where applicable

Older HTTP versions may reduce efficiency for multiplexed workloads.

  • Category: NET
  • Family: NET

ECO-NET-NET-013 — Excessive polling intervals

Frequent polling increases load even when nothing changes.

  • Category: NET
  • Family: NET

ECO-NET-NET-014 — Synchronous cross-region calls

Cross-region synchronous calls increase latency and cost.

  • Category: NET
  • Family: NET

ECO-NET-NET-015 — Missing circuit breaker patterns

Without circuit breakers, failures propagate and waste resources.

  • Category: NET
  • Family: NET