Skip to content

Conversation

@DanSleeman
Copy link

@DanSleeman DanSleeman commented Feb 17, 2024

For issue #3446

@bakugo
Copy link
Contributor

bakugo commented Feb 17, 2024

This doesn't fully fix the issue, it will work the first time you click it since the URL will not be in cloudflare's cache, but any subsequent clicks will still download the compressed image, and if anyone near you already downloaded the image using 4chan X, it might already be in the cache the first time you click. The query part should be random every time to guarantee it's not cached.

@DanSleeman
Copy link
Author

That makes sense. I apparently did not understand the full scope of the problem.

I've updated this using a random string based on the current timestamp and a random number.
Seems to be working when downloading the same image multiple times for me.

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

Successfully merging this pull request may close these issues.

2 participants