humanmade / altis-cloud

Cloud Module for Altis
https://docs.altis-dxp.com/cloud/
9 stars 2 forks source link

Make WP-Cron and Cavalcade docs more visible #480

Open johnbillion opened 2 years ago

johnbillion commented 2 years ago

The documentation at https://docs.altis-dxp.com/cloud/scheduled-tasks/ is not easy to find due its naming, title and keyword content.

Searches for cron and cavalcade rank other pages more highly.

Acceptance criteria:


Original issue:

There's currently no information about how WP-Cron events are run on Altis Cloud. This is valuable information because the Cavalcade runner is an important part of the reliability, scaleability, and performance of cron events on sites.

Example documentation from VIP: https://docs.wpvip.com/technical-references/tools-for-site-management/cron-control/

roborourke commented 2 years ago

Might need a better page name / title, is this what you're after?

https://docs.altis-dxp.com/cloud/scheduled-tasks/

johnbillion commented 2 years ago

Thanks, yes I think it does need a better name, it doesn't show up in a search for "cron" and it shows up low down the results in a search for "cavalcade".

roborourke commented 2 years ago

I'll update the title of this issue and extend the description with acceptance criteria based on this thread.

rmccue commented 2 years ago

I'd like to keep the title mostly as-is (as it's easier to understand for people less familiar with WP), but we can change it to "Scheduled Tasks (Cron)" or something, and increase the number of times we reference it?

roborourke commented 2 years ago

The search is a bit garbage for certain things anyway so I was wondering about supporting keywords in the YAML frontmatter and weighting those more heavily https://github.com/humanmade/altis-dev-docs-site/issues/94

Would still be useful when we switch to ES, I also need to try out the algolia search.

roborourke commented 2 years ago

I'd like to keep the title mostly as-is (as it's easier to understand for people less familiar with WP)

I'm not sure on that, scheduled tasks is very WordPressy language too, cron would be familiar to more developers I'd have thought.

rmccue commented 2 years ago

scheduled tasks is very WordPressy language too

I disagree, it's at the same level as cron from what I've seen.

Laravel calls it task scheduling, Symfony calls it cron jobs which it then defines as "Cron jobs allow you to run scheduled tasks", Drupal calls it cron automated tasks.

mikelittle commented 2 years ago

Also... unison_unison-webgroup-r2wj___dev_testing_unison_org_uk

I agree 'scheduling tasks/jobs' is good terminology, but sprinkling some references to cron, "chron" (because mistakes) and "wp cron" would help discoverability for as range of people.