{"compiled":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nfunction _createMdxContent(props) {\n  const _components = {\n    a: \"a\",\n    blockquote: \"blockquote\",\n    br: \"br\",\n    code: \"code\",\n    figure: \"figure\",\n    h2: \"h2\",\n    p: \"p\",\n    pre: \"pre\",\n    span: \"span\",\n    ...props.components\n  }, {Box, TabItem, Tabs} = _components;\n  if (!Box) _missingMdxReference(\"Box\", true);\n  if (!TabItem) _missingMdxReference(\"TabItem\", true);\n  if (!Tabs) _missingMdxReference(\"Tabs\", true);\n  return _jsxs(_Fragment, {\n    children: [_jsx(Box, {\n      type: \"warning\",\n      title: \"serpack only\",\n      children: _jsx(_components.p, {\n        children: _jsx(_components.a, {\n          href: \"/serpack/serpack-only\",\n          children: \"This feature is supported by serpack.\"\n        })\n      })\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"A feature has been added to execute functions that take a long time to compute or degrade performance only on the first request and then send stored cache data.\"\n    }), \"\\n\", _jsxs(Tabs, {\n      children: [_jsxs(TabItem, {\n        id: \"With $store\",\n        children: [_jsxs(_components.blockquote, {\n          children: [\"\\n\", _jsx(_components.p, {\n            children: \"You can see that after the first request, all responses are printed immediately.\"\n          }), \"\\n\"]\n        }), _jsx(\"video\", {\n          src: \"/assets/cmd-optimized.mp4\",\n          width: \"100%\",\n          height: \"100%\",\n          controls: true\n        })]\n      }), _jsxs(TabItem, {\n        id: \"Without $store\",\n        children: [_jsxs(_components.blockquote, {\n          children: [\"\\n\", _jsx(_components.p, {\n            children: \"You can see that it sends a response after 1 second for every response.\"\n          }), \"\\n\"]\n        }), _jsx(\"video\", {\n          src: \"/assets/cmd-dev.mp4\",\n          width: \"100%\",\n          height: \"100%\",\n          controls: true\n        })]\n      })]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Try this feature\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"This feature works based on \", _jsx(_components.a, {\n        href: \"/serpack\",\n        children: \"serpack\"\n      }), \".\", _jsx(_components.br, {}), \"\\n\", \"To use this feature, enable the \", _jsxs(_components.a, {\n        href: \"/serpack/introduction\",\n        children: [_jsx(_components.code, {\n          children: \"--serpack\"\n        }), \" flag\"]\n      }), \".\"]\n    }), \"\\n\", _jsx(_components.figure, {\n      \"data-rehype-pretty-code-figure\": \"\",\n      children: _jsx(_components.pre, {\n        tabIndex: \"0\",\n        \"data-language\": \"bash\",\n        \"data-theme\": \"material-theme-palenight github-light\",\n        children: _jsx(_components.code, {\n          \"data-language\": \"bash\",\n          \"data-theme\": \"material-theme-palenight github-light\",\n          style: {\n            display: \"grid\"\n          },\n          children: _jsxs(_components.span, {\n            \"data-line\": \"\",\n            children: [_jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#FFCB6B\",\n                \"--shiki-light\": \"#6F42C1\"\n              },\n              children: \"zely\"\n            }), _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#C3E88D\",\n                \"--shiki-light\": \"#032F62\"\n              },\n              children: \" dev\"\n            }), _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#C3E88D\",\n                \"--shiki-light\": \"#005CC5\"\n              },\n              children: \" --serpack\"\n            })]\n          })\n        })\n      })\n    })]\n  });\n}\nfunction MDXContent(props = {}) {\n  const {wrapper: MDXLayout} = props.components || ({});\n  return MDXLayout ? _jsx(MDXLayout, {\n    ...props,\n    children: _jsx(_createMdxContent, {\n      ...props\n    })\n  }) : _createMdxContent(props);\n}\nreturn {\n  default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n  throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","posts":[{"overview":"Overview"},{"why-zely":"Why Zely"},{"getting-started":"Getting Started"},{"config":"Config References"},{"benchmark":"Performance"},{"troubleshooting":"Troubleshooting"},{"migration-to-dobs":"Migration to dobs"},{"routing":"Routing"},{"handler":"Handler"},{"methods":"Methods"},{"send-data":"Sending Data"},{"context":"Context"},{"page-data":"Page Data"},{"customizing-response":"Customizing Response"},{"data-fetching":"Data Fetching"},{"middleware":"Middleware"},{"auto":"Auto Importing"},{"provided-middlewares":"Provided Middlewares"},{"caching":"Caching"},{"store":"Data Caching"},{"cache":"Data Access"},{"serpack":"Serpack"},{"asset":"Asset"},{"debugging":"Debugging"},{"server-data":"Server Data"},{"frontend":"Frontend"},{"html":"HTML"},{"migration":"Migration"},{"migration-3x":"Migration from 3.x"},{"migration-2x":"Migration from 2.x"},{"community":"Community"},{"contributing":"Contributing"},{"playground":"Playground"}],"target":{"caching":"Caching"},"targetcategory":"Caching","directory":"docs"}