How I made a powerful cache system using GoGolangConf: Другое
Golang developer, creator of Souin and active contributor for Caddy, Træfik and API Platform
I’m Træfik user since v1.4 but there was no caching system. I scrolled over the internet to know if any solution exists but nothing appear then I decided to write my own Træfik cache system. Now it’s compatible with all reverse-proxies and have lot of cool features.
I discovered Go language but didn’t have any time to follow multiples tutorials to learn it. But one day I discovered Træfik reverse-proxy project when I wanted to switch my infrastructure into fully dockerized one. I’m Træfik user since v1.4 but after many months using it I encountered an issue : there were no caching system in this reverse-proxy. I scrolled over the internet to know if any solution exists but nothing appears.
Then I decided to write my own Træfik cache system, but the main question was “Which language?” - PHP ? Nah. - Nodejs ? What a joke ! - C++ ? I didn’t learn this language at school and it’s really insane to learn.
Then I was on Træfik github repository when I decided to write it in Go. Another good point: that’s compatible with docker integration.
So I started the project and called it Souin Let’s see together how I bring it up from code to deployment.