# Minification

{% hint style="info" %}
**Who can use this feature?**

* This feature is available for all users, but some options are only available on paid plans.
  {% endhint %}

### What is minification?

As a process of code optimization, Minification removes unnecessary information from the source code such as white spaces, line breaks, comments, etc to help your pages load faster.

### How does it help?

Minification can bring these benefits to your site:

* Decrease the loading time of your website for better performance
* Improve score of crucial elements of Google pagespeed: [FCP](https://web.dev/fcp/), [LCP](https://web.dev/lcp/) and increase your site’s speed score

### How does it work?

1. In "Speed up customization" -> Minification
2. Turn on the Minification&#x20;
3. Select file type you want to minify. We support CSS and Javascript
4. Click **Save**

<figure><img src="/files/pUKkOxfvnzdHtSPObDYk" alt=""><figcaption></figcaption></figure>

### How to check if minification works?

1. In Shopify adminm, go to "Online store" -> Themes
2. In your current themes, click <img src="/files/eVqAum7y0ikW14yAm6U1" alt="" data-size="line"> -> **Edit code**
3. In Assets -> Search min or minified. If it shows up (image below), it works on your store.

   <figure><img src="/files/WdIQ5HWiU9uTupsYAuH3" alt="How to check if minification works"><figcaption></figcaption></figure>
4. You can check on our store front. Go to your website -> Right click -> Click **Inspect**
5. Click **Network** -> Click **JS** or **CSS**
6. Find file that has`aio.min` tag (image below)

<figure><img src="/files/jYLWZVLJOKC4z9CEapVM" alt="How to check if minification works on your store front"><figcaption></figcaption></figure>

<details>

<summary>What if I change my theme content?</summary>

If you make any changes in your live theme that are relevant to image elements (HTML or Liquid source code, not image URLs ), click **Update now** so that Avada SEO Suite stay updated with changes.

</details>


---

# 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://docs.avada.io/seo-suite-help-center/site-speed-up/speed-up-custom-mode/minification.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.
