thedemonsid / blog-website

Me and my friend @Vdcds wanted a personal blog website and this is it.
https://blog-website-chi-eight.vercel.app/
2 stars 1 forks source link

FetchData Optimisation #14

Closed thedemonsid closed 1 month ago

thedemonsid commented 1 month ago

Description

The the fetchBlogs was happening every time the user changed the url.But the Blogs are as it is , they have not changed, So added the cache functionality with function oneTimeBlogs which will fetch Blogs single time and is resend to the user whenever he wants the blogs

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

by @thedemonsid

Checklist:

Screenshots (if applicable)

Include any Screenshots that will help the reviewer understand the context of the changes.

Does this introduce a breaking change?

Mentions

@Vdcds

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blog-website ✅ Ready (Inspect) Visit Preview Apr 30, 2024 10:56am