how Web developers deal with cache? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how Web developers deal with cache?

let's say that you have a blog and you update content every week. how can people (your visitors) see updated content without forcing them to clear cache from their browser? I've heard about putting <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> in your head tag, but I'd like to know about your experiences with it (or different methods) it's really annoying to make some changes in your website and having to clear the cache to see the changes 😅

16th Jun 2022, 2:29 PM
Jose
Jose - avatar
2 Answers
0
In most cases cache updates to latest changes automatically within 24 hours. If browser is not used much, then in that case cache will be stored until the expiry of HTTP headers which can be browser specific/ Website developer specific.
16th Jun 2022, 5:25 PM
Satyam Mishra
Satyam Mishra - avatar
0
hom
19th Jun 2022, 7:03 AM
sachin kumar
sachin kumar - avatar