> For the complete documentation index, see [llms.txt](https://gitbook-docs.frontity.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-docs.frontity.org/performance.md).

# ⚡️ Perfomance

Frontity projects are fast by default. Frontity framework will help you to improve the performance and speed of your site built with a stack consisting of React and WordPress. But Frontity framework on its own cannot assure the best performance of your site as there are some elements involved in the final perfomance that are out of the scope of Frontity.

In this section, we'll provide guides to some of the strategies and patterns that you can apply to your Frontity sites in order to improve even more the performance of your Frontity site:

* [Caching](/performance/caching.md)
* [Link prefetching](/performance/link-prefetching.md)
* [Lazy Loading](/performance/lazy-loading.md)
* [Code Splitting](/performance/code-splitting.md)

{% hint style="info" %}
[These diagrams](https://excalidraw.com/#json=6167540090798080,cvhnsErHXsqarOVT82YgLw) can help you understand how Frontity, the WordPress + React stack and the proper performance strategies may improve the final performance of your project (besides having a great content creation, development and user experience) in both [Decoupled](/architecture/decoupled-mode.md) and [Embedded](/architecture/embedded-mode.md) Mode
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://gitbook-docs.frontity.org/performance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
