Tagged “cache”
-
TIL Clear-Site-Data mdn cache
The Clear-Site-Data header clears browsing data (cookies, storage, cache) associated with the requesting website. It allows web developers to have more control over the data stored by a client browser for their origins.
-
TIL loading third-party scripts onto service workers serviceworker javascript cache optimization
An alternative to self-hosting scripts would be using Service Workers to cache them. This can give you greater control over how often they are re-fetched from the network. This could also be used to create a loading strategy where requests for non-essential third parties are throttled until the page reaches a key user moment.
-
TIL HTTP "No-cache" headers cache server php apache
Using PHP and apache .htaccess file to force reload
-
TIL LocalForage, a small js library for caching javascript webdev cache api mdn library
An easy to use library to help with web storage. Switches between localStorage/sessionStorage, and also IndexedDB automagically. 178,000 repos can't be wrong.
See all tags.