Skip to content

Commit

Permalink
bump 21.08.11
Browse files Browse the repository at this point in the history
- Fixed: Avoid calling Filesystem::close_buffer() if a process involved accessing a disk.
- Fixed: Removed handling stale cache on shutdown.
- Added: Garbage Collector Status -> Cleanup Stale Cache.
- Improved: Collected stale cache will be handled by Garbage Collector.
  • Loading branch information
nawawi committed May 30, 2022
1 parent f7cc901 commit 23082fe
Show file tree
Hide file tree
Showing 16 changed files with 366 additions and 265 deletions.
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
= v21.08.11 (2022-05-30) =
- Fixed: Avoid calling Filesystem::close_buffer() if a process involved accessing a disk.
- Fixed: Removed handling stale cache on shutdown.
- Added: Garbage Collector Status -> Cleanup Stale Cache.
- Improved: Collected stale cache will be handled by Garbage Collector.

= v21.08.10 (2022-05-20) =
- Changed: Disable "CHUNKCACHEDIR" by default. Let's users choose it depending on their hosting environment.

Expand Down
Binary file modified dist/docket-cache.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docket-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* @wordpress-plugin
* Plugin Name: Docket Cache
* Plugin URI: https://docketcache.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
* Version: 21.08.10
* VerPrev: 21.08.09
* Version: 21.08.11
* VerPrev: 21.08.10
* Description: A persistent object cache stored as a plain PHP code, accelerates caching with OPcache backend.
* GitHub Plugin URI: https://github.com/nawawi/docket-cache
* Author: Nawawi Jamili
Expand Down
26 changes: 13 additions & 13 deletions includes/admin/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,18 +470,6 @@
<?php esc_html_e('Storage Options', 'docket-cache'); ?>
</td>
</tr>
<tr id="chunkcachedir">
<th><?php echo esc_html__('Chunk Cache Directory', 'docket-cache').$this->tooltip('chunkcachedir'); ?></th>
<td>
<?php echo $this->config_select_bool('chunkcachedir'); ?>
</td>
</tr>
<tr id="flush_stalecache">
<th><?php echo esc_html__('Auto Remove Stale Cache', 'docket-cache').$this->tooltip('flush_stalecache'); ?></th>
<td>
<?php echo $this->config_select_bool('flush_stalecache'); ?>
</td>
</tr>
<tr id="maxfile">
<th><?php echo esc_html__('Cache Files Limit', 'docket-cache').$this->tooltip('maxfile'); ?></th>
<td>
Expand Down Expand Up @@ -512,7 +500,7 @@
</td>
</tr>
<tr id="maxsize_disk">
<th class="border-b"><?php echo esc_html__('Cache Disk Limit', 'docket-cache').$this->tooltip('maxsize_disk'); ?></th>
<th><?php echo esc_html__('Cache Disk Limit', 'docket-cache').$this->tooltip('maxsize_disk'); ?></th>
<td>
<?php
$maxsize_disk_default = '500M';
Expand Down Expand Up @@ -540,6 +528,18 @@
?>
</td>
</tr>
<tr id="chunkcachedir">
<th><?php echo esc_html__('Chunk Cache Directory', 'docket-cache').$this->tooltip('chunkcachedir'); ?></th>
<td>
<?php echo $this->config_select_bool('chunkcachedir'); ?>
</td>
</tr>
<tr id="flush_stalecache">
<th class="border-b"><?php echo esc_html__('Auto Remove Stale Cache', 'docket-cache').$this->tooltip('flush_stalecache'); ?></th>
<td>
<?php echo $this->config_select_bool('flush_stalecache'); ?>
</td>
</tr>
<tr>
<td colspan="2" class="stitle">
<?php esc_html_e('Admin Interface', 'docket-cache'); ?>
Expand Down
Loading

0 comments on commit 23082fe

Please sign in to comment.