pdir/contao-webtools

Install pdir webtools dependencies via Contao Manager or Composer

Installs: 2 673

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:contao-bundle

1.5.1 2024-02-26 15:59 UTC

This package is auto-updated.

Last update: 2024-03-26 16:22:08 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