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