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

Attempt to reduce unnecessary accesses to data files #180

Merged
merged 3 commits into from
Feb 18, 2024
Merged

Conversation

smarr
Copy link
Owner

@smarr smarr commented Feb 18, 2024

Looks like rebench.dev is caching a lot of raw data files.
Though, they should only ever be generated when someone actually requested them.
So, it's not clear to me why this happens.

This PR adds three things to hopefully minimize this unnecessary load on the server:

  • mark links to data files as nofollow
  • add the data URLs to the disallowed URLs in robots.txt
  • ignore browser requests that indicate they are prefetch attempts

Signed-off-by: Stefan Marr <git@stefan-marr.de>
It looks like bascially all data files were generated and cached on rebench.dev.
Not sure what triggered it, but it’s not me…

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr added the enhancement New feature or request label Feb 18, 2024
@smarr smarr merged commit 757dc03 into master Feb 18, 2024
2 checks passed
@smarr smarr deleted the no-follow branch February 18, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant