We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ca976 commit e6df6a3Copy full SHA for e6df6a3
apps/sim/lib/blog/registry.ts
@@ -162,6 +162,7 @@ export async function getPostBySlug(slug: string): Promise<BlogPost> {
162
export function invalidateBlogCaches() {
163
cachedMeta = null
164
cachedAuthors = null
165
+ Object.keys(postComponentsRegistry).forEach((key) => delete postComponentsRegistry[key])
166
}
167
168
export async function getRelatedPosts(slug: string, limit = 3): Promise<BlogMeta[]> {
0 commit comments