What are service workers?

A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don’t need a web page or user interaction . Today, they already include features like push notifications and background sync.

Read more

Should I use Celery with Django?

Do not pass Django model objects to Celery tasks . To avoid cases where the model object has already changed before it is passed to a Celery task, pass the object’s primary key to Celery. You would then, of course, have to use the primary key to get the object from the database before working on it.

Read more

Should I use a service worker?

Caching assets and api calls — Service Workers can be used for both cases , while it’s understandable that caching api calls is beneficial for caching server response effectively offloading servers and providing offline experience to customers, assets caching is also beneficial — remember that browser caching is still …

Read more