Jay
CDCloudflare Developers
•Created by Jay on 5/22/2024 in #pages-help
Reached heap limit
We started getting random build errors and here is the error that we are receiving during build process:
We have a react app that is using vite for builds.
What might be the issue? Also added
--max-old-space-size=8192
cmd to build command but no luck.
1 replies
CDCloudflare Developers
•Created by Jay on 3/13/2024 in #workers-help
Resizing images without source URL
Hello community.
Currently we have a image resizer worker to avoid extraorbitant fees of webflow. This works perfectly but its creating another issue.
Normally webflow stores images like this: https://global-assets.com/image.jpg
We transform it to this: https://example.com/cdn-cgi/https://global-assets.com/image.jpg
Because transformed image now contains double slashes our this confuses search engines and causes to drop our SEO page rank.
Is there a way to serve the images after converting like this: https://example.com/cdn-cgi/image.jpg ?
I changed the script but then I got the error that cloudflare worker cannot find the source.
1 replies
CDCloudflare Developers
•Created by Jay on 3/12/2024 in #pages-help
Cloudflare pages not reporting back to Github
1 replies
CDCloudflare Developers
•Created by Jay on 11/28/2023 in #pages-help
Caching Related Issues
We are operating our web-application on cloudflare pages and recently started having lot of issues from our customers after each release of the new version of the app.
Here is an example:
Failed to fetch dynamically imported module: https://app.textcortex.com/assets/dashboard-a152fa43.js
Is this kind of issues related to cloudflare's caching? Is there any kind of config that we need to be aware of regarding our build config?
Thanks for the help!
1 replies
CDCloudflare Developers
•Created by Jay on 9/26/2023 in #pages-help
✘ [ERROR] Error: Pages only supports files up to 26.2 MB in size
I am not sure if there is a workaround but currently our whole CI CD is stuck because of this. What is the recommended workaround for this?
2 replies
CDCloudflare Developers
•Created by Jay on 4/6/2023 in #pages-help
Deploying to pages with github actions: Branch Settings
Hello all
I have a question regarding deployment with github actions. I set the branch as
branch: production
but cloudflare pages is still deploying it as preview
How can I get around this?
Here is the current .yml file for the github actions
3 replies
CDCloudflare Developers
•Created by Jay on 2/2/2023 in #pages-help
Binary download from https://nodejs.org/dist/v16.14.2/node-v16.14.2-linux-x64.tar.xz failed
Build is failing although I can confirm that this is not related to the source code. For some reason it cannot download therefore build fails.
4 replies