webapp: updated html to add support for Enable Cache Prefetch option.

This commit is contained in:
Shreyas Zare
2026-10-03 14:19:58 +05:30
parent 1c1072d878
commit 4235c974d8
+14 -2
View File
@@ -2025,6 +2025,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
<div class="well well-sm form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Cache Prefetch</label>
<div class="col-sm-8">
<div class="checkbox">
<label>
<input id="chkEnableCachePrefetch" type="checkbox"> Enable Cache Prefetch
</label>
</div>
<div style="padding-top: 5px; padding-left: 20px;">Enable this option to refresh records that are about to expire in cache. A prefetch background task for a cached record is triggered when it is queried for and the DNS server finds the record's TTL value to be less than the Prefetch Trigger value.</div>
</div>
</div>
<div class="form-group">
<label for="txtCachePrefetchEligibility" class="col-sm-3 control-label">Prefetch Eligibility</label>
<div class="col-sm-6">
@@ -2038,9 +2050,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<label for="txtCachePrefetchTrigger" class="col-sm-3 control-label">Prefetch Trigger</label>
<div class="col-sm-8">
<input type="number" class="form-control" id="txtCachePrefetchTrigger" placeholder="trigger" style="width: 100px; display: inline;">
<span>seconds (recommended 9; set 0 to disable prefetching)</span>
<span>seconds (recommended 9)</span>
</div>
<div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">A record with TTL value less than trigger value will initiate prefetch operation immediately for itself.</div>
<div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">A record with TTL value less than trigger value will initiate prefetch operation immediately for itself when queried.</div>
</div>
</div>
</div>