Docs: Optimization

You are here:

How can I generate critical CSS?

August 2, 2019 104
Swift does this automatically. Make sure you have it set properly in Settings > Optimization > Styles > Generate Critical CSS.

How to improve the “Make Fewer HTTP Requests” and optimize “Add Expires headers”?

August 2, 2019 429 1
You can decrease number of HTTP requests if you enable Style & Script merging in Settings > Optimization.  If you are using multiple small images (eg icons) you can also enable Media > Images > Inline Small Images feature Swift takes care about expires headers, however please note...

I get a 404 message when trying to access my /sitemap_index.xml

August 2, 2019 28
Add the word #sitemap# to the exclude URLs list and then reset the Warmup Table