Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course
@hisexcellencykingderp2 ай бұрын
Hey Colby this helped me a lot.However this was working great till today. The cache is supposed to be warm but when I open an incognito tab or use another computer, it does not serve from disk cache even though x-cache says hit. any ideas?
@colbyfayock2 ай бұрын
@@hisexcellencykingderp unless im misunderstanding the question, x-cache means it was cached from the server, not cached locally. so you still may be getting a cached response from the server, but if you're in a new browser, or incognito, or something else, it will always make a new request the first time (then get the server cache)
@hisexcellencykingderp2 ай бұрын
@@colbyfayock Yes it was working exactly that way for me. dev tools show “disk cache” and my apollo client was set to “network only” so everything was 100% being served from server cache. Then all of a sudden today wpgraphql smart cache decided to stop working as intended. I haven’t touch the code base in a week
@levipadre10 ай бұрын
Hi. Do you know what can be the problem with Graphql if I moved my site to a different server (which used a temp domain name until a changed the necessary dns records) and the sourceUrl paths are showing the temp URL in them instead of the actual url.