Skip to content
loading...

re: A simple caching strategy for Node REST APIs, Part 1 VIEW POST

FULL DISCUSSION
 

function getUrlFromRequest(req) {
const url = req.protocol + '://' + req.headers.host + req.originalUrl
return url
}

becasue of req.protocol in key the cache is not effective as can be :)

code of conduct - report abuse