Skip to content

Instantly share code, notes, and snippets.

@arjus
Last active May 14, 2018 07:42
Show Gist options
  • Save arjus/f3948d82d6af9af0c84bf69379024502 to your computer and use it in GitHub Desktop.
Save arjus/f3948d82d6af9af0c84bf69379024502 to your computer and use it in GitHub Desktop.
Speed local Magento 2 Development workflow
#enable redis and cache
php bin/magento setup:config:set --cache-backend=redis
bin/magento cache:enable
#disable block_html and full_page
bin/magento cache:disable block_html full_page
#flush xml cache through php storm
Php Storm -> Preferences -> Tools -> File Watchers -> +
#use redis
Program = redis-cli / Arguments = -n 0 flushdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment