Cache Me Not, Cache Me, Cache Me Not
(hazelweakly.me)57 points by mooreds 2 months ago | 23 comments
57 points by mooreds 2 months ago | 23 comments
recroad 2 months ago | root | parent |
I think of it as two:
1. Invalidates easily
pilgrim0 2 months ago | prev | next |
I guess caching is as hard as writing about caching, then. The author, while not sure if to teach or to preach, did a lousy job at both.
gukov 2 months ago | root | parent | next |
Am I the only one that thinks using profanity is a lousy way to explain things?
navjack27 2 months ago | root | parent |
Absolutely disagree!
Conveying frustration of the highest caliber sometimes requires profanity and if you can't deal with that then grow up.
bombcar 2 months ago | root | parent | next |
Profanity can be like a spice, used wisely and sparingly.
Or it can be overused or in the wrong context.
It's rare you get something that can't be expressed in some other way, however - but it does exist, especially in the world of jokes.
mablopoule 2 months ago | root | parent | prev | next |
Same. I felt that the article generally got his point across, and kept a good balance between "straight to the point" and flavor text.
And while I don't want profanity present in all the articles I want to read, I find this kind of tone way more appealing than the dry, PR-approved blog posts where the only kind of levity found are "2010 internet humor" cat pictures, and "Corporate Memphis" illustrations.
latexr 2 months ago | root | parent | prev |
> Conveying frustration (…) sometimes requires profanity
Agreed, but that’s unrelated to what your parent comment says:
> using profanity is a lousy way to explain things
Explaining something and conveying frustration are not the same thing. So you’re not really disagreeing, you talked about something orthogonal. For all we know, the parent commenter agrees with you. It’s not contradictory to think profanity is a good medium to convey frustration but a bad one to explain a concept.
> and if you can't deal with that then grow up
That was uncalled for. Please be mindful of the guidelines. HN aims for civil discourse, not needlessly judging others.
paulddraper 2 months ago | root | parent | prev |
low quality content for sure
WaltPurvis 2 months ago | root | parent | next |
I couldn't be bothered to assess the quality of the content when the presentation is so childish -- performative aggression, cussing like a 12-year-old boy who thinks it makes him sound cool, etc., it's all totally unnecessary and actively detracts from communicating whatever possibly useful information he might have had to share.
navjack27 2 months ago | root | parent | next |
That's the writing style and tone that they wanted to put out. They went to a coffee shop to get what one gets at a coffee shop some coffee and some food and they were using some sort of a internet connected thing that frustrated them because of the coffee shop's poor internet connection.
I think they did a perfectly good job and this is good writing and it's not indicative of their intelligence or maturity.
Haven't you ever got frustrated at something where you just are constantly cursing inside. That seems to be what spurred this on, simple as.
paulddraper 2 months ago | root | parent |
> That's the writing style and tone that they wanted to put out
Unfortunately, I think you are right.
acer4666 2 months ago | root | parent | prev |
https://hachyderm.io/@hazelweakly she/her pronouns
defrost 2 months ago | root | parent |
for a 12 year old boy?
Recall that in Game of Thrones the young Arya (she/her) grabs a light fencing stabbing weapon with two hands and flails it about like a 12 year boy playing with a pretend broadsword.
Syrio, her teacher, proceeds to correct her and teaching the beginning fundamentals of swordplay.
The GP has used a simile cussing like a 12 year boy and could perhaps instead used braying like a donkey, bellowing like a sea lion, cursing like a sailor, etc.
The use of a simile does not imply that the subject of the simile is a 12 year old boy, a donkey, a sea lion, a sailor, etc.
latexr 2 months ago | root | parent | next |
It doesn’t seem like your parent comment is referring to the “12-year-old boy” part of its parent comment, but the “(…) information he might have (…)” part (near the end).
decremental 2 months ago | root | parent | prev |
[dead]
dailykoder 2 months ago | root | parent | prev |
low quality post for sure
giancarlostoro 2 months ago | prev | next |
One of the first web projects I worked on involved a dozen iframes and calling postMessage to pass around data, it was chaos. Still remember the senior dev of the project did a pull request, the variable was called “cacheMeOutside” I chuckled and approved.
kunley 2 months ago | prev | next |
This is much more intelligent article on caching:
navjack27 2 months ago | root | parent |
Hey here's a cool tip. Why don't you submit it to hacker News?
Why am I being downvoted for telling someone to submit this link to this website?
kunley a month ago | root | parent |
I don't know why people downvoted you.
Anyway, this article was here already:
2 months ago | prev |
danpalmer 2 months ago | next |
Good points, but I'm not sure "push", "pull", "user", or "owned" were particularly well described at the beginning.
I've always found that thinking about "static" vs "dynamic" content to be the most useful breakdown. Services often produce a mix of static and dynamic, i.e. it's not all "owned" just because it comes from the service. Similarly "push" and "pull" are a little tricky to reason about, but "upload via a web form" and "deploy via a build pipeline" are much clearer to me.
"static" and "dynamic" leads to an easy definition too – if it's in the codebase it's static, and if it's in the database (or referenced by it) it's dynamic. The same rules as in this blog post apply though, high cacheability on static and lower TTLs on dynamic content.
In systems of a certain scale this stuff starts to blend together (e.g. if your company runs an internal CDN then everything is dynamic from the perspective of the CDN), but in my experience, static/dynamic and deployed/uploaded is a good place to start that allows for good caching behaviour.