---
title: "Guillaume (@dolig) | Hashnode"
description: "Front-end JS - A/R/V. Read the latest articles by Guillaume on Hashnode."
url: "https://hashnode.com/@dolig"
---

@dolig

# Guillaume

@dolig · Paris, France · Joined September 2018

Front-end JS - A/R/V

## Comments

[Hello Fakorede Abiola, Thanks you for your response. After reading it and the code again and again, I understand that I've missed a point: app.route take as many middleware as we want. Your cache middleware is scoped here and not global to all the app: app.get('/repos/:username', cache, async (req, res) => { So everythings is good. Thanks again for your article, this is a great discovery for me :)](https://hashnode.com/posts/why-you-should-consider-caching-data-with-redis-in-your-nodejs-applications/5db02038ec5ff27d15810461/comment/5db6ee0f7d5f5493565f2183#reply-5db80968a2342e8354087647)

Reply · Article · Oct 29, 2019 · [Why You Should Consider Caching Data With Redis In Your Node.js Applications](https://hashnode.com/posts/why-you-should-consider-caching-data-with-redis-in-your-nodejs-applications/5db02038ec5ff27d15810461)

[Hello, Thanks a lot for this article 👏 Some though: IMHO, it's better if cache is agnostic. I mean if developers doesn't have to worry about how and what is cached while developing api. Another thing: I don't understand why you put the cache retrieve code in a middleware. I might be wrong, but right now, if I query GET /lmao/:username, and if the cache exist, looks like it will return me the same response as GET /repos/:username. So why not putting all the cache logic inside the cached route. I.E app.get('/repos/:username', cache, async (req, res) => { const { username } = req.params client.get(username, (err, data) => { if (err) throw err if (data !== null) { res.send(data) } else { try { const response = await fetch(\`https://api.github.com/users/${username}/repos\`) const data = await response.json() let repos = data.map(item => item.name) // save the repos to redis using the username as key and with an expiration client.setex(username, 60, repos) res.send(repos) } catch (err) { res.status(500) } } }) });](https://hashnode.com/posts/why-you-should-consider-caching-data-with-redis-in-your-nodejs-applications/5db02038ec5ff27d15810461/comment/5db6ee0f7d5f5493565f2183)

Comment · Article · Oct 28, 2019 · [Why You Should Consider Caching Data With Redis In Your Node.js Applications](https://hashnode.com/posts/why-you-should-consider-caching-data-with-redis-in-your-nodejs-applications/5db02038ec5ff27d15810461)

[Could you be more precise about your servers and what are the different mail systems you are using ?](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool/comment/5bd89c7f82ae239e52c0951c#reply-5bdadc2b25afcbb16b50be24)

Reply · Thread · Nov 1, 2018 · [I'm dreaming of a mail client that is only a simple tool](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool)

[And this is how it looks like](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool/comment/5bd3121f3eee1d28799548d4#reply-5bd4566ff0a7f65665f9abc4)

Reply · Thread · Oct 27, 2018 · [I'm dreaming of a mail client that is only a simple tool](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool)

[Wow, so you're using terminal mail clients! Thats... wow! You're pretty beardy, right? :p I think I'm gonna try in a few days, but not sure it will do the job because most of my mails are html and not pure text. You're totally right, create something simple is rather complex. I think I can describe my ideal GUI mail client like this : One window One thing at a time, we are not build for multitasking Minimalist and content first (just like medium is for blogging) Tons of keyboard shortcut which are integrated to GUI (no need to look for the shortcut in obscure manual or on the internet) Yahoo mail is pretty good on the last point. Newton mail (but they're closed now) on the third. Thanks for the compliment :)](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool/comment/5bd3121f3eee1d28799548d4#reply-5bd44c9bf0a7f65665f9ab24)

Reply · Thread · Oct 27, 2018 · [I'm dreaming of a mail client that is only a simple tool](https://hashnode.com/forums/thread/im-dreaming-of-a-mail-client-that-is-only-a-simple-tool)

[Hello, The same question came to my mind few months ago. And I found a (partial) answer in a podcast. It wasn't about code, developers or this kind of stuff, it was about "what advise would you give to yourself at 18". The speaker was Autodisciple, a french youtuber. Here's his answer: I'd say that the world is bad designed and the people don't really know what they are doing. Even the adult. Even people who look assured. Things are imperfect, unfinished. And people who look confident, assured are mostly just faking it. IMHO, this is pretty funny how this answer applies well to developement. We're trying. We're doing our best. And every day we're failing. I don't really know what clean, semantic HTML code is. But here is a list of things I do to make my HTML as clean as possible : Think about what I'm going to create How is it going to interract with the rest of my html Write something which work Wondering about the role of all that divs. Is it a header? A nav? A section? Is there an HTML5 element which cover this role? Asking myself "why have I written this?" Is my code valid ? Improve things Go to 4, until there is no more improvements which came to my mind. Thank you for reading. Note: I'm a beginner when it comes to writing in english, so feel free to give me your feedback :)](https://hashnode.com/forums/thread/what-does-clean-semantic-html-code-look-like-in-the-real-world/comment/5bd1cd189435ee9b2b478a33)

Comment · Thread · Oct 25, 2018 · 1 · [What does "clean, semantic HTML code" look like in the real world?](https://hashnode.com/forums/thread/what-does-clean-semantic-html-code-look-like-in-the-real-world)

[I think the subject is more about open spaces than open office. But both subjects are interesting :)](https://hashnode.com/forums/thread/are-you-able-work-productively-in-open-office-culture/comment/5bced0a843cd10d261099e1a#reply-5bd194933eee1d2879953e29)

Reply · Thread · Oct 25, 2018 · [Are you able work productively in Open Office culture?](https://hashnode.com/forums/thread/are-you-able-work-productively-in-open-office-culture)
