AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Allow Excluding Specific Domains from Optimistic Cache

Open macrocodea opened this issue 5 months ago • 1 comments

Prerequisites

  • [x] I have checked the Wiki and Discussions and found no answer

  • [x] I have searched other issues and found no duplicates

  • [x] I want to request a feature or enhancement and not ask a question

The problem

Optimistic Cache is a great feature, but I think it could benefit from more customization options.

Feature Request: Domain Exclusion List for Optimistic Cache

I have an idea that could improve the usability of Optimistic Cache.

When Optimistic Cache is enabled, users should be able to specify certain domains that are excluded from Optimistic Cache behavior.

The reason is simple: in real-world usage, Optimistic Cache works very well for most domains and significantly improves response times. However, there are always some exceptions where serving expired cache entries may cause issues due to frequently changing DNS records.

With a domain exclusion list, users could continue to enjoy the benefits of Optimistic Cache globally while ensuring that specific domains always use normal DNS resolution behavior.

This would provide greater flexibility and make the feature suitable for more use cases.

Proposed solution

none

Alternatives considered and additional information

none

macrocodea avatar Jun 25 '26 04:06 macrocodea

Hello! Thanks for the feature request. However, I'd like to point out that your issue appears to be a duplicate of an existing one: #4197.

You can go to #4197 and vote for this feature to be implemented. I'm closing your feature request as a duplicate.

sofvaskina avatar Jun 26 '26 10:06 sofvaskina