pdir/contao-webtools

Install pdir webtools dependencies via Contao Manager or Composer

Installs: 2 221

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:contao-bundle

1.5.0 2022-09-30 10:07 UTC

This package is auto-updated.

Last update: 2024-01-29 03:58:18 UTC


README

pdir webtools for contao web development

Features in this bundle

  • provides a slightly modified version of the dump() function called pdump() which produces dump output only when the system is in dev mode: APP_ENV=dev. This should curb unwanted or forgotten dumps() somewhat.
  • specifies an additional key in the query string to delete the assets/css folder from the frontend.
  • add purge button to backend Purge Script Cache
  • automatically purge script cache in debug mode

Configuration the purge button

Allow the purge button for all back end users

    // .env
    WEBTOOLS_ALLOW_PURGE=true

The purge button purge the script cache like maintenance task "Purge data" do.

New functions through dependencies 🛠

Purge Script Cache Icon

"zap" from https://feathericons.com/

Wishlist

  • add purge button to preview toolbar