Caching /Website Caching

Cache is a temporary storage location for storing data or files so that they can be accessed more easily and quickly this process is known as caching.

in internet technology ,web browser stores copies of web pages or HTML files, JavaScript, and images you've visited recently to load websites faster.

so every time a user visits a webpage , the browser has to download the entire data to display that webpage .To reduce this work and time , the browser cache will save a copy of the webpage content in device storage so that the next time the user visits the same webpage ,the page will load more quickly, since most of the content is already stored.

Users can clear their browser cache if they want to. these cache files are stored till the cache storage is full or till the TTL expires

TTL is time to live it refers to how long the content should be stored.


darkmode