Hey, processQuery & responseHandler are not anything related to caching or have anything to do with this artcle. They are just examples of common middlewares.
In our app, processQuery transforms some of our url query params, does some checks if they are valid.
responseHandler just converts the response data to json and returns a 200 status.
This may not be everyone's usecase.
Can you explain the processQuery, responseHandler fuction for me.
Hey,
processQuery
&responseHandler
are not anything related to caching or have anything to do with this artcle. They are just examples of common middlewares.In our app,
processQuery
transforms some of our url query params, does some checks if they are valid.responseHandler
just converts the response data to json and returns a 200 status.This may not be everyone's usecase.
thank bro
Thank you. Do you still have this tutorial. i don't see it on your github