EXPLANATION
Restful service makes access to client information send to the server by JSON request that reduces several round trips from the server and hence optimises the speed.
HTML framework works the application MVC Web API with razor lack optimisation levels. The main reason is that razor methods lack optimisation levels of HTTP request-response communication between the client and the server. But by the implementation of json request behaviour, restful services get enabled that enables switching between client and servers much faster. Thus, faster the communication between client and the server.