pdir/contao-webtools

Install pdir webtools dependencies via Contao Manager or Composer

Installs: 3 998

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:contao-bundle

1.6.2 2024-11-16 07:17 UTC

This package is auto-updated.

Last update: 2024-11-16 07:19:02 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