mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 14:48:02 -05:00
testing with the offline page
This commit is contained in:
@@ -29,3 +29,18 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block script %}
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
|
||||||
|
caches.open('html').then(productsRuntimeCache => {
|
||||||
|
|
||||||
|
productsRuntimeCache.keys().then(keys => {
|
||||||
|
console.log(keys)
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user