Initial attempt at using Service Worker
- Caches facebook profile pictures and static resources - Removes django-compressor and commited bower_components - rest fixes
This commit is contained in:
1 parent
195c49b0fd
commit
2b5c3529d6
468 files changed
+376
-96983
No files matched your search
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
toolbox.router.get('/(.*)/picture/', toolbox.fastest, {
|
||||
origin: /^https:\/\/graph\.facebook\.com$/
|
||||
});
|
||||
|
||||
//var MISSING_IMAGE = '/static/dist/images/unknown_person.png';
|
||||
//toolbox.cache(MISSING_IMAGE);
|
||||
//
|
||||
//function imageHandler(request, values, options) {
|
||||
// return toolbox.cacheFirst(request, values, options).catch(function () {
|
||||
// return caches.match(MISSING_IMAGE);
|
||||
// });
|
||||
//}
|
||||
Reference in new issue
Block a user