I used to drag a little shell script around between each React Native project that cleaned out various cache directories (Watchman Cache, Bundler Cache, Build Artifacts, Yarn Cache, etc.) for me. A better alternative is the react-native-clean-project you can use. Cleans your React Native project by purging caches and modules, and reinstalling them again. Installation …
Tag Archives: cache
Reset React Native Cache (Watchman Cache, Bundler Cache, Build Artifacts, etc) with
Using Immutable Caching To Speed Up The Web
Firefox shipped with support for Cache-Control: Immutable: The benefits of immutable mean that when a page is refreshed, which is an extremely common social media scenario, elements that were previously marked immutable with an HTTP response header do not have to be revalidated with the server. No more 304‘s for those resources, because the browser …
Continue reading “Using Immutable Caching To Speed Up The Web”
Scrapbook, PHP Caching Environment
// create \Memcached object pointing to your Memcached server $client = new \Memcached(); $client->addServer(‘localhost’, 11211); // create Scrapbook cache object $cache = new \MatthiasMullie\Scrapbook\Adapters\Memcached($client); // set a value $cache->set(‘key’, ‘value’); // returns true // get a value $cache->get(‘key’); // returns ‘value’ Scrapbook is a caching environment for PHP. The cornerstone is key-value-store, which sets a …