Comments (5)
Seeing the same. Strange
from next.js.
@bitttttten I tried that too. But, it does not seem to work.
from next.js.
I'm going with a workaround until we find a proper solution to this issue. I have created a function that returns a GraphQL endpoint with the random id as the value of a query parameter. This solves the issue and always returns the latest result.
export const getGraphQlEndpoint = () => `${process.env.NEXT_PUBLIC_GRAPHQL_API_URL}?id=${new Date().valueOf()}`;
from next.js.
You can customise this with the revalidate option: https://nextjs.org/docs/app/api-reference/functions/fetch#optionsnextrevalidate. You could set it to 0
which means no cache, which is what you want.
from next.js.
folllow
from next.js.
Related Issues (20)
- Dependency Resolution Issue when Installing Shadcn in Next.js 15 HOT 1
- [Local Build] API routes that use `revalidate`cannot be revalidated
- Next.js uses <script> tag to load css files in static export HOT 5
- When a page and layout exist, the page does not rise to the top unless the view height value of the page is greater than 100. HOT 2
- Error on npm run dev after updating to Next.js 15 RC: "Failed to patch lockfile" HOT 1
- TypeError: value.forEach is not a function when use server action on local HOT 1
- app/sitemap.ts is not served at /sitemap.xml on NextJS 15RC HOT 2
- ReferenceError on client render in production build using SWC minifier
- testProxy breaks next/font
- Deprecation Warning on Installation of packages([email protected], [email protected], [email protected]) HOT 2
- [Next.js@RC] dynamic/static rendering depends on whether `no-store` is specified or is the default.
- Next.js v15 PPR throw error when navigating client side (e.g: a link), with both static and dynamic components with static params route (only in dev)
- Next Prioritizes the display of loading.tsx over content rendered in SSR on asynchronous pages in first load
- renderToReadableStream does not work in edge route handlers
- Incorrect XML Namespace in sitemap.ts for Next.js 14.2 HOT 1
- Docs: Missing file name in the documentation for /app/building-your-application/styling/css-modules
- Server action redirect ignores type and forces push HOT 1
- Please support pure client side rendering (we could learn from how umijs) and make SSR optional HOT 1
- when server proxy sse request, browser would receive data until the response end HOT 2
- Docs: .optimizePackageImports is showing compression docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.