# 1.9.1.Overview

* Profile first, then optimize
* Three tier architecture
  * Client tier
  * Application tier
    * Output caching
    * data caching
    * release builds
    * disabling session
  * Data tier
* Premature optimization is the root of all evils
* Do not sacrifice the maintainability of your to premature optimization
* Be realistic and think like an "engineer"
* Be progmatic and ensure your efforts have observable results and give value


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jen-hsuan-hsieh.gitbook.io/asp-net/chapter1/1.1.the-complete-asp.net-mvc-5-course/19performance-optimization/191overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
