All Collections
Features
General Settings
Included URLs (now "Optimize only" URLs)
Included URLs (now "Optimize only" URLs)
Updated over a week ago

When you first start using NitroPack, you might like to test it only on a few pages. With the "Optimize only" URL feature, you can specify a list of included URLs you'd like to be optimized.

Important Note: If you use this feature, only the Included URLs and no others will be optimized.


How to Include Individual Pages

1. Go to Cache Settings >> Cache

2. Find the "Optimize only" URLs feature and enable it (click the toggle on the right).

3. Enter the URL of the page you wish to include.

4. For multiple pages, enter each one on a new line:

https://yoursite.com/ https://yoursite.com/pricing https://yoursite.com/download https://yoursite.com/blog 

6. Finally, click the Save button on the top right to save your changes.

Using Wildcards

With wildcards, you can include a group of pages at once. For example, here's how you can include all pages of your blog post, assuming they're set up as child pages with the following URL structure:

https://yoursite.com/blog/post/blog_post_1 https://yoursite.com/blog/post/blog_post_2https://yoursite.com/blog/post/blog_post_3

You can use the following one-liner:

https://yoursite.com/blog/post/*

This will include the page /blog/post/ itself, and all the pages with /blog/post/ in the URL, for example /blog/blog_post_1/.

You can also use wildcards to include all URLs containing a specific word. For example, to include all category URLs (assuming they all have “category” in their name), you can write:

*category*
Did this answer your question?