What is the configuration required for caching of static resources like images, css and js in angular 2+
Answer / Samarjeet Yadav
In Angular 2+, the built-in service HttpClient has support for caching. By default, it uses a cache for GET requests to improve performance. However, for more advanced caching configurations, you may need to implement custom interceptors or use services like Angular Service Worker.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ngfor in angular?
What is traceur compiler in angular 2?
What is the forroot method in angular4?
How can you use factory method in angularjs?
What are the ngmodule metadata properties?
Explain the concept of scope hierarchy?
What's new in angular 8?
Explain what are angular expressions?
What is ivy renderer? Is it supported by angular 7?
What is data binding in AngularJS?
What are filters in angularjs? Can you list some?
Difference between constructor and ngoninit?