Enable swr caching instead of prerenderign
This commit is contained in:
parent
aba61b28d6
commit
26ca536e87
|
@ -500,7 +500,7 @@ useOpnSeoMeta({
|
|||
description: 'Transform your ideas into fully functional forms with OpnForm AI Builder – quick, accurate, and tailored to fit any requirement.'
|
||||
})
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
let authenticated = computed(() => authStore.check)
|
||||
|
|
|
@ -200,7 +200,7 @@ export default {
|
|||
setup() {
|
||||
const authStore = useAuthStore()
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
return {
|
||||
|
|
|
@ -59,7 +59,7 @@ definePageMeta({
|
|||
middleware: "guest"
|
||||
})
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
useOpnSeoMeta({
|
||||
title: 'Login'
|
||||
|
|
|
@ -73,7 +73,7 @@ export default {
|
|||
})
|
||||
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ import {fetchTemplate} from "~/stores/templates.js"
|
|||
import FormTemplateModal from '~/components/open/forms/components/templates/FormTemplateModal.vue'
|
||||
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
const { copy } = useClipboard()
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
import {loadAllTemplates} from "~/stores/templates.js";
|
||||
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
useOpnSeoMeta({
|
||||
|
|
|
@ -46,7 +46,7 @@ import Breadcrumb from '~/components/global/Breadcrumb.vue'
|
|||
import {loadAllTemplates} from "~/stores/templates.js";
|
||||
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
const route = useRoute()
|
||||
|
|
|
@ -47,7 +47,7 @@ import Breadcrumb from '~/components/global/Breadcrumb.vue'
|
|||
import {loadAllTemplates} from "~/stores/templates.js";
|
||||
|
||||
defineRouteRules({
|
||||
prerender: false
|
||||
swr: 3600
|
||||
})
|
||||
|
||||
const route = useRoute()
|
||||
|
|
Loading…
Reference in New Issue