Images and css files are not cached in Angular 2+

59 views
Skip to first unread message

Ravi Kiran Guturu

unread,
Jul 12, 2019, 10:13:37 PM7/12/19
to Angular and AngularJS discussion
What is the setting / configuration required for caching of static resources like images, css and js in Angular 2+.

i am using angular6 and my images and css are loading  every time when i refresh my site.

Sander Elias

unread,
Jul 12, 2019, 11:54:56 PM7/12/19
to Angular and AngularJS discussion
Hi Ravi,

During developing? That is by design of the tools. If it happens to you on production, you need to make sure your server settings are right.


Regards
Sander
Reply all
Reply to author
Forward
0 new messages