Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

add runtimeCaching

AykutSarac377610995360
diff --git a/next.config.js b/next.config.js
index e2ed6359..57be011b 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,4 +1,5 @@
const withPWA = require("next-pwa");
+const runtimeCaching = require("next-pwa/cache");
/**
* @type {import('next').NextConfig}
@@ -14,6 +15,7 @@ const nextConfig = {
},
pwa: {
disable: process.env.NODE_ENV === "development",
+ runtimeCaching,
dest: "public",
register: true,
fallbacks: {