Updated twig reference with optimizations and paths

Added information about `optimizations` and `paths` twig configs to reference

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | >=2.3
| Fixed tickets | -