mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
testing with the offline page
This commit is contained in:
@@ -28,4 +28,19 @@
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
{% 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