-3

I have just finished building a front-end website that has couple images here and there that might slow down the first draw and load time.

I have not written backend code and I want to implement caching system on the front end side. Is there anything I can do to improve the speed of my assets. or implement any cache mechanism.

Kamal Panhwar
  • 2,345
  • 3
  • 21
  • 37
cocolove
  • 67
  • 4

1 Answers1

1

To get you started here - if the resources that are used in your html page are static and resource location is also static i.e. fixed URL, then your browser will take care of the caching after the 1st time the site is loaded.

You can take a look at following links -

https://medium.com/@codebyamir/a-web-developers-guide-to-browser-caching-cc41f3b73e7c

What's the best way use caching data in js on client side?

Hope this helps. Happy coding. :)

Dev Utkarsh
  • 1,377
  • 2
  • 18
  • 43