# Troubleshooting slow server response times

**URL:** https://discourse.roots.io/t/troubleshooting-slow-server-response-times/24833
**Category:** trellis
**Tags:** acorn, trellis, bedrock, sage10
**Created:** 2023-02-19T21:40:55Z
**Posts:** 14
**Showing post:** 2 of 14

## Post 2 by @strarsis — 2023-02-20T02:03:41Z

First rule out DNS issues, how fast does `dig` look up the IP address of the site? Use `ping` and check for network issues (short ping times, variations).  
Then use a tool like `wget` or `curl` and check the response time reported by these, are those really that large? Do they vary a lot?

(Besides profiling) I achieved significant performance improvements by using an object cache (Redis based in that case):

> [@Use Redis cache with Bedrock and Trellis](https://discourse.roots.io/t/use-redis-cache-with-bedrock-and-trellis/15001/14):
>
> Maybe this is not caused by the object cache but by nginx microcaching? More rarely changing pages are held in cache for some requests, although they may need rerendering. Pages that are individualized or often-changing (as WooCommerce cart, check-out, account pages) should be excluded from microcaching: Do you have the same issue when you disable the object cache?

PHP 8 also improved performance compared to PHP 7.x.

---

_[View the full topic](https://discourse.roots.io/t/troubleshooting-slow-server-response-times/24833)._
