---
title: "Optimize your sites with post processing on Netlify"
description: "Learn how to use Netlify"
source: "https://www.netlify.com/blog/2021/12/21/optimize-your-sites-with-post-processing-on-netlify/"
last_updated: "2026-07-11T00:00:02.000Z"
---
> Throughout December we’ll be [highlighting a different Netlify feature each day](https://www.netlify.com/blog/2021/12/01/highlighting-a-different-netlify-feature-each-day-in-december/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing). It might just be the thing you need to unlock those creative juices, and [dust off that domain](https://www.netlify.com/blog/2021/12/01/dusty-domains-your-forgotten-domains-raise-money-for-charity/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing) you registered but never deployed! Keep an eye [on the blog](https://www.netlify.com/blog/2021/12/01/highlighting-a-different-netlify-feature-each-day-in-december/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing) and on [Twitter](https://twitter.com/netlify) for each feature!

There are multiple ways to improve the performance of your website. From minifying resources to tree shaking, compressing files, reducing the amount of server requests, etc. Netlify can help in your quest to build the fastest sites with post-processing features.

Let’s have a look at what’s available!

### Snippet injection

I highlighted snippet injection in [yesterday’s post](https://www.netlify.com/blog/2021/12/20/how-to-add-features-to-your-site-via-snippet-injection/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing), it’s just one of the services available as post-processing and it’s super handy. If you’d like to add some small feature to your site without bundling it as part of your codebase, maybe try snippet injection! Analytics or other scripts can be added at serve time in a simple step, either in the `</head>` or `</body>` of your HTML.

![](/v3/img/blog/blog-post-snippet-injection-empty.png)

### Asset optimization

Even though some of you may be handling asset optimization through Webpack or other tools inside your codebase, you can also do it via the Netlify UI!

![](/v3/img/blog/blog-post-asset-optimization.png)

These can also be configured in your `netlify.toml` file, using the `processing` property, for example:

```
[build.processing.js]  bundle = true  minify = false
```

### Prerendering

If you want to improve your SEO, you can enable prerendering for your site to allow search engines to crawl your app’s pages.

![](/v3/img/blog/blog-post-prerendering.png)

### Form detection

We looked at Netlify Forms earlier this month. You can [read about how they work in this post](/blog/2021/12/16/accepting-form-submissions-without-a-server/). But if you’re **not** using Netlify Forms on your site, you might want to disable form detection to speed up your deploys. By default, Netlify’s build bots scan new and updated HTML files to automatically handle forms.

![](/v3/img/blog/blog-post-form-detection.png)

All of these features can be found in your site’s settings page, under **Build & Deploy > Post processing.**

## More information

-   [Docs: Snippet injection](https://docs.netlify.com/site-deploys/post-processing/snippet-injection/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing)
-   [Docs: Post processing](https://docs.netlify.com/configure-builds/file-based-configuration/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing#post-processing)
-   [Docs: Prerendering](https://docs.netlify.com/site-deploys/post-processing/prerendering/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing)
-   [Docs: Form detection](https://docs.netlify.com/site-deploys/post-processing/form-detection/?utm_campaign=featdaily21&utm_source=netlify&utm_medium=blog&utm_content=post-processing)

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Optimize your sites with post processing on Netlify&url=https://www.netlify.com/blog/2021/12/21/optimize-your-sites-with-post-processing-on-netlify//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2021%2F12%2F21%2Foptimize-your-sites-with-post-processing-on-netlify%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2021/12/21/optimize-your-sites-with-post-processing-on-netlify//)
-   [Bluesky](https://bsky.app/intent/compose?text=Optimize your sites with post processing on Netlify+https://www.netlify.com/blog/2021/12/21/optimize-your-sites-with-post-processing-on-netlify//)

* * *

### Tags

-   [Tips](/blog/tags/tips/)

## Keep reading

![](/images/blog-fallback-thumbnail.svg)

Guides & Tutorials December 1, 2021

[

### Highlighting a different Netlify feature each day in December

](/blog/2021/12/01/highlighting-a-different-netlify-feature-each-day-in-december)

-   ![Profile picture of Phil Hawksworth](/_astro/9cfe2bbe94bcb555ce3ac7683ac7905ad3fd32b1-400x400_Z18H6R1.webp)
    
    Phil Hawksworth
    

![](/_astro/3f45eb6eda4ea8814be310e3df4a7883a5bd9ba0-1200x675_ZcBDUS.webp)

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

## Recent posts

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

News & Announcements June 24, 2026

[

### How we measure Netlify’s Agent Experience

](/blog/how-we-measure-netlify-agent-experience)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)