Re:Show HN: Hashmap.me – Simple HTTP-Based Data Storage and ...
by pdanpdan on Friday January 05, 2024 @09:38PM
(#38887801)
Wouldn't it be more semantically meaningful if you would use "...api/store/<hash>" with GET and PUT?
That way you would also get better caching.
[ Parent
| on HN ]
Re:Show HN: Hashmap.me – Simple HTTP-Based Data Storage and ...
by MrRowTheBoat on Friday January 05, 2024 @10:21PM
(#38888062)
I like your idea of switching the endpoint specifically for caching, would be a great improvement for the service. This does run on Next.js which offers some sort of caching out of the box. When it becomes a problem, it will definitely be necessary. Thanks for the suggestion!