Skip to content

Commit

Permalink
fix: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
GiveMe-A-Name committed Dec 8, 2023
1 parent 9ab7e9a commit f2816c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/server/prod-server/src/libs/render/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
} from '@modern-js/utils';
import type { ModernServerContext } from '@modern-js/types';
import { RenderResult, ServerHookRunner } from '../../type';
// import cache from './cache';
import { RenderFunction, SSRServerContext } from './type';
import { createLogger, createMetrics } from './measure';
import { injectServerDataStream, injectServerData } from './utils';
Expand Down Expand Up @@ -88,8 +87,6 @@ export const render = async (
const serverRender: RenderFunction =
bundleJSContent[SERVER_RENDER_FUNCTION_NAME];

// const content = await cache(serverRender, ctx)(context);

const content = await ssrCache(ctx.req, serverRender, context);

const { url, status = 302 } = context.redirection;
Expand Down

0 comments on commit f2816c1

Please sign in to comment.