<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<p>
    Remove processed files and cached images stored by TYPO3 to free up disk space.
</p>
<p>
    TYPO3 stores processed files (such as image variants and thumbnails) in a dedicated directory
    that can grow quickly over time.<br>
    Use this action to delete these files. Afterward, clear the cache database tables to ensure consistency.
</p>
<p>
    The File Abstraction Layer (FAL) also keeps database records for processed files. If image processing settings
    have changed (see <strong>System → Settings → Configure Installation-Wide Options → [GFX]</strong>),
    removing processed files forces them to be regenerated with the updated configuration.
</p>

<div class="t3js-module-content" data-clear-typo3temp-delete-token="{clearTypo3tempFilesToken}">
    <div class="module-action-list t3js-clearTypo3temp-stat-container"></div>
</div>

<template id="t3js-clearTypo3temp-stat-template">
    <div class="module-action-item">
        <div class="module-action-item-body">
            <div class="module-action-item-description">
                <strong class="t3js-clearTypo3temp-stat-directory"></strong> contains <output class="t3js-clearTypo3temp-stat-numberOfFiles"></output> files
            </div>
        </div>
        <div class="module-action-item-action">
            <button type="button" class="btn btn-default btn-sm t3js-clearTypo3temp-delete">
                <core:icon identifier="actions-delete" size="small" /> Delete files
            </button>
        </div>
    </div>
</template>

</html>
