Today I Learned - Rocky Kev

Tagged “cache”

  1. TIL Clear-Site-Data

    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.

  2. TIL loading third-party scripts onto service workers

    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.

  3. TIL HTTP "No-cache" headers

    Using PHP and apache .htaccess file to force reload

  4. TIL LocalForage, a small js library for caching

    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.