Posts

Next.js API Caching Explained: Why Your Data Might Be Stale (and How to Fix It)

Image
ЁЯзР Introduction Next JS API Calling that gives Cached Data Instead of updated DB Data If you’ve ever built a Next.js application or any application and noticed your API is returning old or outdated data , even though the database has been updated, you’re not alone. This is a common confusion for developers new to Next.js’ server-side fetch caching . In this article, we’ll explore: Why this happens in both development and production. How Next.js fetch caching works. How to disable it when you need fresh data. The SEO impact of different fetching methods. ЁЯТб The Problem Imagine you have an API route: pages/api/setting/notifications.ts Copy export default async function handler ( req, res ) { const settings = await db. query ( "SELECT * FROM notification_settings LIMIT 1" ); res. json ({ data : settings }); } ...

2025 COI Question Paper

COI 2024-25 Question Paper Welcome to Shiv Dix Blogger Your hub for the latest resources and updates! COI 2024-25 Question Paper Download the COI (Computer Organization and Implementation) 2024-25 question paper by clicking the button below: Download PDF © 2025 Shiv Dix | Shiv Dix YouTube Channel

Check the Attendance

Check AKTU Attendence AKTU EXAM ATTENDANCE CHECK AKTU Exam Center Attendance Viewer Click the button below to open the AKTU Examination Center Attendance portal in a popup window: Open Attendance Portal © 2025 Shivam Dixit. All Rights Reserved. Visit AKTU ERP .

Palmy - Palm Reader (GUI Based)

Image
Palmistry Beliefs Across Religions Github Youtube Install Instructions for Local Environment json : pip install json cv2 : pip install cv2 HandTrackingModule : pip install HandTrackingModule tkinter : pip install tkinter Root File: Palmy Run Tkinter.py for GUI interaction. The code is located in the com_ritualGuru_palmreader package. Hinduism or Sanatan Belief in Palmistry Hasta Samudrika Shastra: This is the ancient Hindu science of palmistry. Christianity's View on Palmistry Christianity emphasizes that God's will and knowledge of the future are beyond human understanding. Attempting to predict the future through palmistry or similar practices is seen as contrary to trusting in God's plan. Old Testament Laws The Bible explicitly forbids practices related to divination, including palmistry, astrology, and o...

Amazon Global Infrastructure

Image
 AWS - Amazon Web Services Amazon is a leading entity in the world of Cloud Computing and Storage Remote here with the expansion of technology AWS also expanding at the same speed.  AMAZON Regions These are the high  Availability Zones that cover lakhs of kilometres where multiple AWS Availability zones are present and each zone comes with a minimum of 2 Data Centers and Typically 3 or 4  Each Data Center at Full Fledge Scale contains hundreds, even thousands of servers.s  Currently, AWS has 103 Amazon Region worldwide across 33 Countries Fully Isolated and many kilometres Apart from each other for Complete Redundancy Network AWS offers high Availability, Connection, Purpose Built, Low Latency on Fully redundant Fiber optics cable network Point to Presence: PoP With Amazon Cloud Front AWS offers Highly secure and reliable Data sharing of Customer data to applications with PoP support that is like a cache and edge point of connectivity over the application and da...

AWS S3 Simple Workflow over GET request

Image
GET Requestion - i.e, Retrieval From the S3  In This arcticle we will see how an GET request will be delivered and what will be the root response Synerio Consider there is a web portal for City's residence and tourist which is beach side city here one of the webpage is being Statically hosted on Amazon S3 with having main files like index.html index.js and CSS in root access Get Req Initiated : Let's Suppose city's residence visit the portal and request for the WAVE data how it will gonna perform today so they can plan holiday safely on beach Here the web portal before showing data to city residence it will make or initiate the get request to AWS S3 Service Get Req Validation :  Before making any response AWS first verify the bucket policies so it can ensure weather to give any resource access to the Request as response or not to web portal Get req so it can be terminated or closed  Get Req Termination if the Bucket policies allows means according to bucket policy if Get ...

Amazon S3 Access Management and Policy

Image
 Amazon S3 Access Management: As S3 consist of many data files or objects some of them are for the public some of them are abstract and some of them are protected and some of them are private so to make this vast variety of access we can not create different buckets but can make Access management policy for bucket where data is stored so can manage access management from outside sources This Practice is known as Amazon S3 Access Management and each bucket have there own Access Policy where we can decide which object is to serve on which request and which is not  Amazon S3 Bucket for Static hosting(Client Side Script) When an S3 bucket is configured for website hosting, the bucket is assigned a URL. When requests are made to this URL, Amazon S3 returns the HTML file , known as the root object , that was set for the bucket. Amazon S3 Bucket Policy For others to access the S3 bucket, or specific objects in it, permissions must be configured to allow that access. A bucket policy ...

Pageviews