Headless Rendering

There are situations where you want or need to access documents structure / DOM without actually rendering them on the page. Search is a good example of such use case. The benefits are performance and lower resources consumption. Consider using headless rendering when possible rather than loading documents in the reader directly.

See the renderHeadless() API to use it or check the Search enhancer to see its usage.

Last updated

Was this helpful?