News for hackers. Stuff that matters.

iron4o

Re:Go's embed.FS and http.FileServer interact unexpectedly on Monday September 30, 2024 @09:58AM (#41697140)
Well, this is left to the application developer to decide and the library should not make the choice for them. In my own application it makes sense to use time.Now(), for example.
Re:Go's embed.FS and http.FileServer interact unexpectedly on Monday September 30, 2024 @07:33AM (#41695977)
I've noticed that browser caching with Last-Modified and If-Modified-Since is not working on my projects where embed.FS and http.FileServer are used. Which is quite a lot of them.

I guess that my investigation and solution may be helpful to others.

Wow! Even the website looks the same. With the vinyl in the background and everything ;D
I couldn't resist the play ;D
Re:How I made a 3D game in 2 KB of JavaScript on Monday March 09, 2020 @07:17AM (#22524484)
Why are there trees in them middle of the road? ;D