zicht/z-plugin-opcache

Opcache plugin for Z

1.1.3 2022-02-08 11:30 UTC

This package is auto-updated.

Last update: 2024-11-08 17:22:14 UTC


README

Clears the opcache after deploy.

Example:

plugins: ['env', 'opcache']

envs:
    production:
        ssh: user@production
        root: ~/site
        web: web
        http: 'http://example.org'

Running z env:opcache --explain would show you that a file is put on the remote containing code to clear the cache, and that file is retrieved using curl.

The env:opcache task is also hooked into deploy.post

Maintainer(s)