question, beause woth this when I pull a page and render it with gatsby develop (or gatsby build and serve) the images that are on the page will source from the wp site. what happens if the site get taken down? how do I change the src of the images from the pulled information? or even better download the images and use those instead of relying on another page
So with this functionality above, you source the images from your Backend on build/develop and it will generate static files into your build folder.
So if you take that build and deploy it, the images will still be there even if your Backend is down.
Now if you will use gatsby build again while your backend is down, that obviously doesn't work. If you want your images to be persitent in your frontend without the need of your backend, just add them to an image folder inside your gatbsy project.
question, beause woth this when I pull a page and render it with gatsby develop (or gatsby build and serve) the images that are on the page will source from the wp site. what happens if the site get taken down? how do I change the src of the images from the pulled information? or even better download the images and use those instead of relying on another page
Not sure if I understand the question correctly.
So with this functionality above, you source the images from your Backend on build/develop and it will generate static files into your build folder.
So if you take that build and deploy it, the images will still be there even if your Backend is down.
Now if you will use gatsby build again while your backend is down, that obviously doesn't work. If you want your images to be persitent in your frontend without the need of your backend, just add them to an image folder inside your gatbsy project.
right sorry yhea it was the wrong question (I was kinda sleepy) but thanks anyway