File-based snippet execution

File-Based Execution is an optional feature that can be enabled under Settings → Enable file-based execution.

When enabled, your snippets are executed directly from your local file system instead of the database.

The database will still manage snippet metadata and settings, but behind the scenes, the plugin uses WordPress hooks to mirror snippets to files. During execution, the system automatically determines whether to run snippets from the database or from files, based on your chosen configuration.

Why Use File-Based Execution?

Improved Performance

In our testing, file-based execution delivered performance gains exceeding 70%, primarily by eliminating database queries during snippet execution.

Easier Debugging

Developers can now use powerful debugging tools like Xdebug to step through snippet code, making it easier to identify and fix complex issues.

We’re excited for you to try out this new feature and experience the improvements in speed, security, and developer workflow.