> 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

Facephi SDK Web can be configured in many ways, as well as having several available features.

Depending on the purpose for which SDK Web is implemented, it is possible to benefit from some features or others.

## Advanced configurations

Some advanced configurations may be:

### Preloading SelphID and Selphi resources

Using the methods `generateSelphiBrowserCache(apiKey)` and `generateSelphIDBrowserCache(apiKey)` it is possible to download some resources needed for Selphi or SelphID, speeding up component loading.

To do this, we must call the method we need **before** the component is in the DOM. For example, when the user is filling out a previous form before starting the onboarding process.

In this example, we download SelphID resources to speed up the component's 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);
```

***
