Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Erchiragdodia/8f4a22c8c6bf7c8dba60d66d40bb80c1 to your computer and use it in GitHub Desktop.
Save Erchiragdodia/8f4a22c8c6bf7c8dba60d66d40bb80c1 to your computer and use it in GitHub Desktop.

Revisions

  1. @jeroenvermeulen jeroenvermeulen revised this gist Jun 12, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #### by MageHost.pro ####
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -n -e 'cacheable="false"'
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_|/dotmailer).*' | xargs grep --color -n -e 'cacheable="false"'
  2. @jeroenvermeulen jeroenvermeulen revised this gist Jun 8, 2017. No changes.
  3. @jeroenvermeulen jeroenvermeulen revised this gist Jun 8, 2017. No changes.
  4. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #### by MageHost.pro ####
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -n -e 'cacheable="false"'
  5. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #### by MageHost.pro
    #### by MageHost.pro ####
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
  6. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #### by MageHost.pro
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
    # by https://MageHost.pro
  7. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
    # by https://MageHost.pro
  8. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion find_cacheable_false.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,2 @@
    # execute in Magento 2 root:

    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
  9. @jeroenvermeulen jeroenvermeulen renamed this gist May 3, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  10. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    # execute in Magento 2 root:

    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'
  11. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. No changes.
  12. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. No changes.
  13. @jeroenvermeulen jeroenvermeulen revised this gist May 3, 2017. No changes.
  14. @jeroenvermeulen jeroenvermeulen created this gist May 3, 2017.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # execute in Magento 2 root:
    find vendor app -regextype 'egrep' -type f -regex '.*/layout/.*\.xml' -not -regex '.*(vendor/magento/|/checkout_|/catalogsearch_result_).*' | xargs grep --color -rnw -e 'cacheable="false"'