# wp-optimize/3.6.0/templates/minify/cached-file.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.6.0. 22 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.6.0/code/templates/minify/cached-file.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.6.0/raw/templates/minify/cached-file.php
- Modified: 2023-08-09T14:49:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/3.6.0/code/templates/minify/cached-file.php#L10-L20`.

```php
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
<li id="<?php echo esc_attr($file['uid']); ?>">
	<span class="filename"><a href="<?php echo esc_url($file['file_url']); ?>" target="_blank"><?php echo esc_html($file['filename']); ?></a> (<?php echo esc_html($file['fsize']); ?>)</span>
	<a href="#" class="log"><?php esc_html_e('Show information', 'wp-optimize'); ?></a>
	<a href="#" class="delete-file" data-filename='<?php echo esc_attr($file['filename']); ?>'><?php esc_html_e('Delete', 'wp-optimize'); ?></a>
	<div class="hidden save_notice">
		<p><?php esc_html_e('The file was added to the list', 'wp-optimize'); ?></p>
		<p><button class="button button-primary save-exclusions"><?php esc_html_e('Save the changes', 'wp-optimize'); ?></button></p>
	</div>
	<div class="hidden wpo_min_log"><?php
	if ($file['log']) {
		WP_Optimize()->include_template(
			'minify/cached-file-log.php',
			false,
			array(
				'log' => $file['log'],
				'minify_config' => $minify_config,
			)
		);
	}
	?></div>
</li>
```
