V3.ocaml.org: we are live!

Congratulations on the launch! This has been such a positive and constructive effort across so many people, and I’m very glad to see such progress. Also happy to see the playground make its way to the launched site as well :slight_smile:

As for next steps: we really need members of the community to contribute now to their case studies and papers and so on. If you’re using OCaml, then please do consider sending a PR into GitHub - ocaml/ocaml.org: Upcoming version of the official OCaml website. with what you do. If you have any doubts about how to do so, just create an issue on that repository and we can work through it with you.


Congratulations :camel: !

I’d also like to thank in particular the four Outreachy interns who have worked on the project so far. All of them showed great tenacity and patience whilst working on such a new and changing project. With the site going live, I hope this makes their efforts feel all the more worthwhile.


Congratulations to all involved! The new site looks amazing, and I am very eager to go through all the learning materials (helpful to a new user like me).


Success stories page gives a 404. Does it mean OCaml do not have success stories yet? :sweat_smile:

1 Like


I’m not sure the best place to post this, but I was just reading this thread Basic question on looping - #2 by nojb

I’m fairly new to OCaml and realised I hadn’t actually written a for loop yet and was curious about the syntax. But when I google “ocaml for loop” the top result is a broken link:

Screenshot 2022-04-29 at 16.42.33

clicks through to:

If I repeat it via curl I see:

> GET /learn/tutorials/if_statements_loops_and_recursion.html HTTP/1.1
> Host: ocaml.org
> User-Agent: curl/7.79.1
> Accept: */*
* Mark bundle as not supporting multiuse
< HTTP/1.1 303 See Other
< Server: nginx/1.21.6
< Date: Fri, 29 Apr 2022 15:45:51 GMT
< Content-Length: 0
< Connection: keep-alive
< Location: /docs/if-statements-loops-and-recursions

I assume this is related to launch of new website.

I had a bit of a dig around and I think the url it’s meant to redirect to is https://ocaml.org/docs/if-statements-and-loops

also, the second result:

Screenshot 2022-04-29 at 16.50.08

…is on www2 subdomain, which has a broken https certificate and gives a warning screen when you click through to it

Success stories page gives a 404 . Does it mean OCaml do not have success stories yet? :sweat_smile:

Good catch! I’ve updated the links in the post to point to the right URL :slightly_smiling_face:

Looks like some of the redirections from V2 were outdated, it should work as expected now. Thanks for the report!

Congratulations everyone on this massive launch. It’s amazing to see a fresh new face for OCaml.

Can you expand a little on what the maintainers would be doing? I am potentially interested :slight_smile:



There is a styling bug on mobile as you can see:

https://www.ocaml.org/ still serves the old version of the website. Is this on purpose?

Thanks @yawaramin!

OCaml.org maintainers can help to review PRs and address reported issues for example.

Larger projects that are on the roadmap and that maintainers could help on are:

  • Improving the documentation
  • JavaScript toplevels for all the packages
  • Improving the search engine

More generally, I’m hoping that we can build a sustainable development team with the community and take inspiration from the way other projects from the ecosystem are organized. For instance, Dune developers have a bi-weekly meeting. That’s something we could look into replicating, and so maintainers would be encouraged to join the development meetings.

Feel free to send me an email at thibaut@tarides.com, I’d be really happy to discuss more if you’re interested in helping maintain OCaml.org! :slight_smile:

Congratulations on the effort. This is huge, so many improvements that make our life easier, the playground and the documentation are excellent.


I can reproduce it (3 days later so probably not a DNS cache issue), so I reported it upstream. Thanks for pointing it out!

1 Like

Re: the testimonials page: OCaml in Industry

Sorry to be a downer, but can we really include the names and logos of a bunch of companies as OCaml users without any context? For example, in what sense does Microsoft use OCaml in industry? Also, they are named in two sections of the page and each time their logo is different (the first one is the modern logo, the second one is the old one). Do we really have signoff from them for this?


If I remember correctly, we added the Microsoft logo because of SLAM - Microsoft Research.

I am not aware of any recent OCaml projects at Microsoft though, so perhaps it’s best to remove them from the logo cloud to make room for more active industrial users :slight_smile:

can we really include the names and logos of a bunch of companies as OCaml users without any context?

That’s not an uncommon pattern for logo clouds to not have more context (as a popular website I can think of http://stripe.com/ and for a language website https://rescript-lang.org/), but I agree it would be great if each of them had a success story we could link to!

We’ve actually reached out to most of the organizations in the logo cloud to write a success story, we’ll follow up and reach out to the ones we didn’t contact.

1 Like

I think the front page looks great, but my first (but not subsequent) loading of it had really heavy lag as it loaded in the assets. Same with the playground. Either way it looks super clean, everybody involved has done an amazing job.


Pagespeed has some recommendations for improving loading times https://pagespeed.web.dev/report?url=https%3A%2F%2Focaml.org%2F
E.g. there are quite a lot of images and fonts served with only a 1 day cache policy (including logos), while I think the usual recommendation is 1 year (if you’re worried that the image has to change it might be possible to include the hash in the name as long as that image isn’t used in too many places).
The caching seems to be controlled from here:
ocaml.org/static.ml at a8eb00767d46f983356d287d9b2ce55b21ec684c · ocaml/ocaml.org · GitHub and it looks like it used to have a maxage of 1 year that got reduced in this PR: Optimize assets loading by tmattio · Pull Request #281 · ocaml/ocaml.org · GitHub (not sure whether that was done to fix/workaround a particular caching bug, or just to make testing of the website easier)

1 Like

For commercial products logos are almost certainly used after sign-off from marketing department of the corresponding company. For ReScript, I happen to know that their website source code has a section where people send PRs to add their companies’ logos: History for src/common/OurUsers.res - rescript-association/rescript-lang.org · GitHub

If we have the equivalent, then I’d say that’s fine. I wouldn’t even say we need a success story, just sign-off to use their logo to promote OCaml.

1 Like