> For the complete documentation index, see [llms.txt](https://nghiaxchis.gitbook.io/ncmaz-wordpress/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nghiaxchis.gitbook.io/ncmaz-wordpress/how-to/optimize-performance-and-improve-gtmetrix-score-google-pagespeed-insights.md).

# Optimize performance and improve GTmetrix score, Google PageSpeed Insights

Using cache plugins is a great way to improve page performance and load times, it's up to each person to choose which plugin to use. E.g: [WP Rocket](https://wp-rocket.me/), [LiteSpeed Cache](https://vi.wordpress.org/plugins/litespeed-cache/), [WP Super Cache](https://vi.wordpress.org/plugins/wp-super-cache/) ...

And in addition to using the above cache plugins, in this article we guide you to use 2 great optimization plugins, it will significantly improve GTmetrix score as well as Google PageSpeed Insights.&#x20;

1. Plugin Autoptimize (By [Frank Goossens (futtta)](https://autoptimize.com/)) - <https://wordpress.org/plugins/autoptimize/>
2. Plugin Async JavaScript (By [Frank Goossens (futtta)](https://autoptimize.com/)) - <https://wordpress.org/plugins/async-javascript/>

Both plugins are authored By Frank Goossens (futtta).

And here is the result of the **ncmaz** theme after using the above 2 plugins:

|          | Before                                                                                                                      | After                                    |
| -------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| Mobile   | <mark style="color:orange;"><mark style="color:red;">30<mark style="color:red;"></mark><mark style="color:orange;">+</mark> | <mark style="color:green;">70+</mark>    |
| Desktop  | <mark style="color:green;">90+</mark>                                                                                       | <mark style="color:green;">95+</mark>    |
| GTmetrix | <mark style="color:orange;">**D+**</mark>                                                                                   | <mark style="color:green;">**B+**</mark> |

And now I will guide you to customize these 2 plugins to be compatible with the **Ncmaz** theme

#### I, Plugin Autoptimize (By [Frank Goossens (futtta)](https://autoptimize.com/)) - <https://wordpress.org/plugins/autoptimize/>

You should customize it as shown in the image below

![](/files/7b1X8KnjDl0lHBmqeyLA)

#### II,Plugin Async JavaScript (By [Frank Goossens (futtta)](https://autoptimize.com/)) - <https://wordpress.org/plugins/async-javascript/>

You should customize it as shown in the image below

![](/files/8uoTU9CNp4YG818QgzAZ)

### Hope it can help with your site 💪!


---

# 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://nghiaxchis.gitbook.io/ncmaz-wordpress/how-to/optimize-performance-and-improve-gtmetrix-score-google-pagespeed-insights.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.
