Versions older than 5.x, install with

Documents

Pooling

Creating new phantom instances with phantom.create() can be slow. If
you are frequently creating new instances and destroying them, as a
result of HTTP requests for example, it might be worth creating a pool
of instances that are re-used.