3 ms·
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.
by pdanpdan 3y ago
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.
- MrRowTheBoat 3y agoI 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!