Feature flags

If you are a system administrator, you can access a collection of feature flags that control experimental features.

The features on this page

  1. change over time; and

  2. are sometimes removed entirely.

Do not rely on these features as part of regular Squiz Content Management system configuration.

These settings are available via System configuration › Feature flags.

Configure beta features

This section lists the available features and experimental options available in your Squiz Content Management instance.

Use x-accel header in place of transmitting PHP content

This feature may improve image response performance by using the NGINX X-accel header instead of relying on PHP to serve image content.

Performance monitoring

This feature activates performance monitoring tracing so that the system can be monitored and analyzed by an external monitoring tool.

Enable asynchronous session handling

Allow the system to handle sessions asynchronously.

Hide the Inline Edit asset tree option

Hiding the Inline Edit option from the asset tree can improve performance of asset tree requests.

Enable the use of contexts for Component Service components

Allow Matrix users to enable contexts for Component Service components and create context variation content items for them.

Enable SSO with the DXP

Allows users to authenticate via the DXP console.

Enable the fix for Image Variety orientation

Preserves the orientation of an image when creating image varieties.

Redis session configuration

Allows redis session configuration to be altered on the Matrix System configuration screen.

Enable Automatic MAC Configuration via CDN Header

Look for the X-CDN-Permissions-Cache header, and automatically configure all parts of matrix to enable permissions caching.

Enable Render Short Circuiting

When enabled, the system will short circuit some renders that take longer than the seconds value set under System configuration › System configuration › Render time threshold.

This may cause fatal errors on the system.

Enable Content API Session Authentication

Allows session authentication to be used for the Content API.

Enable request level session modes

If

  1. SQ_SESSION_MODE=read_only_async is set as a query parameter; and

  2. this flag is enabled;

    the session request will be loaded without locks and prevent any updates to the session from being written to the session store at the end of the request.

Enable stale requests to read the session without locks

When enabled, this causes stale requests to load the session asynchronously and as read only.

Stale requests are defined as:

  • UA=ledge_revalidate/ for MAC; or

  • X-CDN-Stale-Revalidate: true for Cloudflare workers.

Enable 404 ESI

When enabled, the site’s 404 responses can be wrapped in <esi:include /> tags.

Enable PostgreSQL use of jsonb functions

Enable queries that make use of jsonb data type functions to simplify handling of JSON documents using operators that only work when stored or cast to that type.

This requires PostgreSQL 9.4 or later.

Reduce DB latency

Monitor read DB latency to use the fastest host.

Reduce Redis latency

Monitor read Redis latency to use the fastest host.

Enable Management API asset morphing functionality

Allow the Asset Management API to be used to morph assets.

Configure deprecated features

The system will be most stable and performant with all deprecated features disabled.

However, turning off a feature that is in use may break sites in the system.

Personalisation with Personas

Enable personalisation with Personas and Variations under Standard Pages reduces frontend performance.

Squiz support must be contacted when this flag’s state is changed.

Squiz support need to run an internal-only process — Install step_03.php — after this flag changes state to update data used by the asset tree.