# A page is slow

Source: https://zotonic.com/docs/3004/a-page-is-slow

URI: https://zotonic.com/id/3004

Language: en

Measure one representative request and identify whether time is spent in the browser, network, or server. Compare an initial request with a repeated request to see the effect of caches.

On the server, inspect database queries and structured logs before tracing broad sets of functions. Look for repeated work and expensive calls on the request path. Use a small function trace only after narrowing the likely cause.

Apply one change and repeat the same measurement with normal caching settings. Keep the content, role, and request comparable.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3004?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3004?language=en>)
