API Gateway
- API caching will cache the endpoint response. Thus, reducing the number of requests.
- Feature of API Cache
- Its low cost and Efficient
- Scales Effortlessly and automatically.
- Increase performance.
- You can throttle requests to prevent requests.
- Connects to cloud watch to log all requests.
- Same origin policy
- It is an important web application security model, under this policy a web browser permits scripts contained in a first web page to access data in a second web page, only if both web pages have the same origin (Which means same domain name).
- It is an important web application security model, under this policy a web browser permits scripts contained in a first web page to access data in a second web page, only if both web pages have the same origin (Which means same domain name).
- CORS (Cross-Origin Resource Sharing)
- CORS is on the way where the server at the other end (Not the client code in the browser) can relax the same origin policy.
- This policy is a mechanism that allows restricted resources (e.g. font) on a web page to be requested from another domain outside the domain from which the first resource was served.
- If you are using JavaScript/AJAX that uses multiple domains with API Gateway, ensure that you have enabled CORS on API Gateway.
The flow of the API Gateway or how it is implemented.