> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/ejemplos-de-integracion/configuracion-avanzada.md).

# Advanced configuration

Advanced SDK Web configuration.

Facephi's SDK Web can be configured in many ways and offers several available features.

Depending on the goal of the SDK Web implementation, you can benefit from different features.

## Advanced configurations

Some advanced configurations include:

### Preloading SelphID and Selphi resources

Using the methods `generateSelphiBrowserCache(apiKey)` and `generateSelphIDBrowserCache(apiKey)` you can download some resources required for Selphi or SelphID, speeding up component loading.

To do this, you should call the method you need **before** the component is in the DOM, for example, while the user is filling out a form before starting the onboarding process.

In this example, we download the SelphID resources to speed up component loading when the time comes.

```javascript
import { generateSelphIDBrowserCache } from '@facephi/sdk-web-wc';

// Download SelphID resources before the SDK Provider is in the DOM
generateSelphIDBrowserCache(process.env.FACEPHI_SDK_APIKEY);
```

***
