From da4330495b8885691ea76a7eeea751af64d4d7b8 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 18 Jan 2024 23:42:14 +0100 Subject: [PATCH] update docs --- docs/advanced-usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index aa9b461..22b30c6 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -78,7 +78,9 @@ Since Bundle's core is included with the first `` that you load you > We like to explore ways to inject Bundle's core on every page. This way the `_import()` function does not have to be wrapped in a `DOMContentLoaded` listener. Check out our [roadmap](https://laravel-bundle.dev/roadmap.html#roadmap) to see what else we're cooking up. -The import resolution time may be configured milliseconds by updating the config file or via an env variable `BUNDLE_IMPORT_RESOLUTION_TIMEOUT` +## Import resolution timeout + +The \_import() function uses a built-in non blocking polling mechanism in order to account for async & deferred script loading. The import resolution time may be configured milliseconds by updating the config file or via an env variable `BUNDLE_IMPORT_RESOLUTION_TIMEOUT`. ## Minification @@ -94,8 +96,6 @@ Sourcemaps will be generated in a separate file so this won't affect performance > If your project stored previously bundled files you need to run the [bundle:clear](https://laravel-bundle.dev/advanced-usage.html#artisan-bundleclear) command -## `_import` resolution timeout - ## Cache-Control headers You're free to tweak Cache-Control headers bundles are served with by publishing the config file and updating the `cache_control_headers` value.