GitHub is aggressively caching raw.github, breaking many use cases
21–30 of 145 posts
Re: GitHub is aggressively caching raw.github, breaking many use cases
#22Reading the comment threads on GitHub, some files get a TTL of 300, some get a TTL of 86400. The "why" is certainly an interesting question.
If the TTL starts at 86400 and then declines to 0 before resetting.. this is a fairly common caching strategy... it ensures the cache will expire for all clients at around the same time. For example, if you want the client's cache to expire at midnight everyday.
Re: GitHub is aggressively caching raw.github, breaking many use cases
#23Earlier quoted context omitted.
You can eliminate the cache invalidation problem by not reusing old names for new things.
Doesn't that just move the problems to more "naming things" though?
Re: GitHub is aggressively caching raw.github, breaking many use cases
#24Earlier quoted context omitted.
You can eliminate the cache invalidation problem by not reusing old names for new things.
That doesn't solve cache invalidation; that just means you're always invalidating the cache even in cases where you don't actually want to.
Re: GitHub is aggressively caching raw.github, breaking many use cases
#25Re: GitHub is aggressively caching raw.github, breaking many use cases
#26Re: GitHub is aggressively caching raw.github, breaking many use cases
#27Earlier quoted context omitted.
If the TTL starts at 86400 and then declines to 0 before resetting.. this is a fairly common caching strategy... it ensures the cache will expire for all clients at around the same time. For example, if you want the client's cache to expire at midnight everyday.
Is that really common? That sounds like a recipe for disaster.
Re: GitHub is aggressively caching raw.github, breaking many use cases
#28Re: GitHub is aggressively caching raw.github, breaking many use cases
#29Earlier quoted context omitted.
Has github fired most people capable of fixing problems?
Github did layoffs, yes. We'll see how much longer the site can stay up. This is a death rattle.
Re: GitHub is aggressively caching raw.github, breaking many use cases
#30 Intel and Motorola processors compete:
How much is 2 + 2? - asks the Motorola
5!
Wrong answer.
But I was quick wasn't I?!