Discuss Scratch
- DeathReviews
-
Scratcher
100+ posts
WHAT PFP WHAT WHAT WHAT
Why is this an advanced topics now? I didn’t get an alert for that or anything
- BigNate469
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
So, the technical explanation for this:
@codubee maintains Scratch's cache server, meaning they write the code to configure it and generally make sure it's working well. They intentionally programmed that server to, every time their profile picture is requested, send back a random image from a file stored in that server.
If you repeatedly reload the page, you will likely not get a new image each time because your browser decides to use its own cached file instead of requesting it from the server, as a way to save network resources and reduce loading times.
@codubee maintains Scratch's cache server, meaning they write the code to configure it and generally make sure it's working well. They intentionally programmed that server to, every time their profile picture is requested, send back a random image from a file stored in that server.
If you repeatedly reload the page, you will likely not get a new image each time because your browser decides to use its own cached file instead of requesting it from the server, as a way to save network resources and reduce loading times.
- gem1001
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
If you repeatedly reload the page, you will likely not get a new image each time because your browser decides to use its own cached file instead of requesting it from the server, as a way to save network resources and reduce loading times.It has
cache-control: no-store, max-age=0, s-max-age=0, max-stale=0, min-refresh=0
- BigNate469
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
I can only speak from my own experience seeing requests for the picture meet a HTTP 304.snipIt hascache-control: no-store, max-age=0, s-max-age=0, max-stale=0, min-refresh=0
Then again, the last time I tested that was on a Chromebook with fairly strict cache settings because it's a potato, so Chrome might have just ignored that.
It's also possible that it was cached somewhere else along the line.
- gem1001
-
Scratcher
1000+ posts
WHAT PFP WHAT WHAT WHAT
I can only speak from my own experience seeing requests for the picture meet a HTTP 304.It seems other PFPs only have
Then again, the last time I tested that was on a Chromebook with fairly strict cache settings because it's a potato, so Chrome might have just ignored that.
It's also possible that it was cached somewhere else along the line.
cache-control: no-cache