Dynamic routes for static .pdf
files
#1002
-
There are several The way it can be improved we could add a dynamic route to the
Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
hey @shelegdmitriy thanks for starting a discussion. I plan to look into leveraging a cdn to serve these files, to reduce the amount of bandwith from our vercal plan that we're using to serve these files because these pdfs have become the top sources of bandwidth consumption on vercel. So there will likely be a change in the URLs we use to reference these PDFs. Can you clarify what problem you're trying to solve? Is it how to avoid passing props which contain the PDF titles into bos components? We could also hard code them within components like we do our relative urls |
Beta Was this translation helpful? Give feedback.
-
Mainly, Yes. Besides I saw there is a route for the nightshade (
Ok, then no action needed in this discussion. Thanks @charleslavon! |
Beta Was this translation helpful? Give feedback.
hey @shelegdmitriy thanks for starting a discussion. I plan to look into leveraging a cdn to serve these files, to reduce the amount of bandwith from our vercal plan that we're using to serve these files because these pdfs have become the top sources of bandwidth consumption on vercel. So there will likely be a change in the URLs we use to reference these PDFs.
Can you clarify what problem you're trying to solve? Is it how to avoid passing props which contain the PDF titles into bos components? We could also hard code them within components like we do our relative urls
/papers/the-white-paper
.