asset

This project is not covered by Drupal’s security advisory policy.

The Asset Purge Manager module provides a convenient interface within Drupal to manage and purge assets from your site's public directory. It offers seamless integration with Drupal's administrative interface, allowing users to easily delete and manage files while ensuring that the integrity of the site's file references is maintained.

Installation and Setup:

  • Install the module through your preferred method, ensuring that there are no non-core dependencies required.
  • Enable the module at yoursite/admin/modules.
  • Set permissions for users to view and access the Asset Purge Manager at yoursite/admin/people/permissions.
  • Navigate to the Asset Purge Manager tab at yoursite/admin/content/asset_purge_manager. Here, you'll find a comprehensive list of writable files in your site's public directory.

Usage:

  • Asset Purge Manager Tab: Upon accessing the Asset Purge Manager tab, users will be presented with a list of files in the public directory. This interface allows for easy identification and management of files that may need to be deleted or replaced.
  • File Replacement: If a file managed by Drupal is deleted, the Asset Purge Manager module automatically replaces it with a new empty file. This proactive approach prevents potential issues with dangling file references within the site.
  • Exercise Caution: It's essential to exercise caution when using the Asset Purge Manager. Avoid deleting files that you don't fully understand, as doing so may inadvertently impact the functionality or integrity of your site. Following this precaution ensures a smooth and error-free management process.

Configuration:
The module offers configuration options to customize the user experience:

Files per Page: The number of files displayed per page can be configured according to your preference. This setting can be adjusted at yoursite/admin/config/media/asset_purge_manager.

Use Case:
Imagine you're managing a Drupal website that frequently updates its media assets, such as images, videos, or downloadable files. With the Asset Purge Manager module, you can effortlessly navigate to the administrative interface and review the list of files in the public directory. If any obsolete or redundant files are identified, you can promptly delete them, ensuring that your site remains clutter-free and optimized for performance.

Supporting organizations: 

Project information

Releases