@@ -176,7 +176,12 @@ function deSig(string) {
176 return string.startsWith("~") ? string.substring(1) : string;
176 return string.startsWith("~") ? string.substring(1) : string;
179−export const getServerSideProps = async ({ params }) => {
179+export const getServerSideProps = async ({ params, res }) => {
182+ "public, s-maxage=3600, stale-while-revalidate=604800"
180 let { data, content } = getPage(
185 let { data, content } = getPage(
181 join(process.cwd(), "content/id/", params.id.slice(1))
186 join(process.cwd(), "content/id/", params.id.slice(1))
182 ) || { data: {}, content: "" };
187 ) || { data: {}, content: "" };