diff --git a/config/static.php b/config/static.php index 3d89265..8505937 100644 --- a/config/static.php +++ b/config/static.php @@ -7,6 +7,22 @@ 'path' => storage_path('public/static'), 'build' => [ + /** + * Use a web crawler to find all links to cache + */ + 'crawler' => true, + + /** + * Build cache for non-dynamic routes + */ + 'routes' => false, + + /** + * Build cache for these defined URLs + * Ideally when using dynamic routes, like /posts/{slug} + */ + 'urls' => [], + /** * Clear static files before building static cache. * When disabled, the cache is warmed up rather by updating and overwriting files instead of starting without an existing cache. @@ -14,7 +30,7 @@ 'clear_before_start' => false, /** - * Concurrency for crawling to warm up static cache. + * Number of concurrent http requests to build static cache. */ 'concurrency' => 5,