How long have you cached resources on the client side?

My site will host regular images, javascript, and CSS stylesheets in the database. Since they are unlikely to change every day, I'm going to use some client caching to reduce server load.

How long have you cached them? A few days? More?

I probably won’t reuse the same name twice if I update the resource, so I should not have obsolete data problems.

+3
source share
1 answer

If you change your name when updating, then you have the luxury of caching forever. This is a big plus if you change the name to change.

, script CSS, , .

+1

Source: https://habr.com/ru/post/1698813/


All Articles