sorry it was mybad idk but i did save my about.pug file and also editor has auto saved on thinks work successfully but it taking time to respond so i tried to... refactor that by fetching them all at once by doing promise.all something like this
I'm not sure there's any way to optimise this as you're getting all your documents at once. The suggested way would be to break up your queries, like we do in our blog example:
can you explain me in form of the example from my repo? i apologies that this alll is taking somuch time to get my head around with this but the thing i can assure you that it gonna be worth great by seeing the end results
Hello @ojasshukla211, Phil is away for the day so I'll be helping you instead. Which form do you need help with? Can you point out the piece of code you want us to investigate in detail together?
Hi thankyou for coming upfront so I was trying to fetch pages concurrently for the first time then after that i tired to fetch them all at once to fix the problem of taking so long to respond but seems like that also not solve the problem is there any way i can able to fix that
The first thing I can see is that you're still using .query(), this is replaced with .get() in V6. I recommend that you refer to the migration guide before making any additional changes to your project:
also it showing unexpected results and the problem i am trying to resolve isnt solved like it still take that type of time inbetween to fetch the pages maybe its because that the Imgur: The magic of the Internet
We are replicating our /api endpoint in 2 regions (Europe, Australia) for all users on February 26, 2022. If you’re in Europe, Asia, or Oceania, this will decrease the response time of all /api queries by more than 60% on average.
no sir i've been experiencing lot of issues related to prismic recently not even know what to do now eventho documentation is also not that updated and migration guide also not that helpful :c eventho in help support not getting expected response that i want i wish i had someone in person who used to work in prismic so i can able to resolve that problem that i am having. this thing sucks that providing every information also not so helpfull
We are the official Prismic support team who work in Prismic and we can only help us with what information you give us. The main issues you are seeing are more related to your node.js implementation rather than Prismic specific issues. I'm sorry the migration process hasn't been smooth for you, but we're trying our best.
I'm happy to continue helping you debug your project. If you can again send me an up to date git of your project, I can devote more time to debuggin with you.