5 ms·
Why u dont use just regular Gitlab Pages without Netlify?
by neon_me 7y ago
Why u dont use just regular Gitlab Pages without Netlify?
- noja 7y agoAnyone know?
- gcells 7y agoWell Netlify does give you an option to add custom headers, redirects etc. Add CDN and cache busting along with branch deploys, that's something you cannot do with gitlab pages or github pages. Also github pages takes a long time to get live for the first time (at least it did for me).
- neon_me 7y agoAfaik you can specify custom headers in Cloudflare - same as CDN/Cache support and you can definitely use custom branches for release and dev in gitlab - all you have to do is specify them in config.yaml ... I have been running a bunch of generated static pages via GH (and now GitLab) and never seen any disadvantage, but don't take me wrong - I am always learning :)
- acd 7y agoWhat does Netlify bring to the table? Gitlab already has CI/CD. https://docs.gitlab.com/ee/ci/ https://docs.gitlab.com/ee/ci/ Deploy a Blog site with Gitlab pages and Cloudflare https://blog.zenggyu.com/en/post/2019-02-08/deploying-a-blogdown-website-with-gitlab-pages/ https://blog.zenggyu.com/en/post/2019-02-08/deploying-a-blog...
- dsumenkovic 7y agoThanks for sharing the links. The GitLab Pages doc [1] and product vision [2] may be an interesting read as well. [1] - https://docs.gitlab.com/ee/user/project/pages/ https://docs.gitlab.com/ee/user/project/pages/ [2] - https://about.gitlab.com/direction/release/pages/ https://about.gitlab.com/direction/release/pages/
- cimnine 7y agoI've done such setups as well. E.g. my "personal" website cimnine.ch is set up like that. Netlify was just a lot quicker to get started. It automatically compresses images, js, etc., if you tell it to. It automatically deploys branches to a special subdomain, so you can share previews of branches with other people. Also, though I haven't used that yet, it has this "Functions" thing that would allow you to add dynamic behaviour to your static website.