Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaults - filter silk itself from requests #702

Open
stuaxo opened this issue Jan 25, 2024 · 0 comments
Open

Defaults - filter silk itself from requests #702

stuaxo opened this issue Jan 25, 2024 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Jan 25, 2024

Most users, who aren't debugging silk itself probably don't need to see requests from silk itself.

Personally I have this in my conf - it

def ignore_silk_urls(request):
    url_re = r'^(/silk|^/assets/silk)'
    return re.match(url_re, request.path) is None

SILKY_INTERCEPT_FUNC = ignore_silk_urls

Most new users want to see the site they are working on, not silk itself.
It would be good if there was either a way to toggle this in the GUI, or an easier way to filter these in the config, which maybe defaults in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant