Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 563 Bytes

File metadata and controls

28 lines (19 loc) · 563 Bytes

Cache helper

Installing

Include helper in deploy.php file.

require 'recipe/deploy/cache.php';

Usage

  after('deploy:symlink', 'deploy:cache_status_clear');
  after('deploy:symlink', 'deploy:opcache_reset');

Tasks & Configuration

  • deploy:cache_status_clear - clear status cache

  • deploy:opcache_reset - reset OPcache with config:

    • public_url - default: `` - url with https:// and without trailing slash
    • opcache_webroot - default: web
    • opcache_filename - default: opcache.php