Jarvis Panel

Sites

Site Features

Site features are extra behaviours you can switch on for a site with one click. Laravel sites have all the features below, PHP sites have zero downtime deployment, and WordPress sites have their own features.

Open a site and select Features in the site sidebar. Each feature has a switch to enable or disable it, and some have a configure button. Site types without features show "This site type doesn't have any configurable features yet."

Scheduler

Runs the Laravel scheduler every minute with a cron job, so the tasks in your app's schedule run on time.

  • Turn it on with the switch. Jarvisway adds a cron job that runs artisan schedule:run every minute.
  • Once enabled, the configure button opens the site's cron jobs, where you can see the scheduler's cron job.

Maintenance Mode

Puts the site down for visitors with artisan down and brings it back up.

  • Turn it on to run artisan down. Visitors see a 503 maintenance page until you turn it off.
  • Turn it off to run artisan up and bring the site back.

Use it during risky changes, such as a large database migration.

Zero Downtime Deployment

Deploys each commit into a new release folder and switches the site to it only when the deployment succeeds. Visitors never see a half-deployed site, and you can roll back to an earlier release.

It's available for Laravel and PHP sites. Turn it on with the switch, then click the configure button to set:

Field Description
Shared resouces A comma-separated list of files and folders shared between releases, so they survive each deployment. Defaults to .env,storage for Laravel and .env for PHP.
Deployments to keep How many previous releases to keep for rollback. Older releases are deleted after each deployment. Defaults to 4.

You can also turn it on when creating a Laravel or PHP site with Enable zero downtime deployment, and set Shared paths and Deployments to keep right there. Shared paths can only use letters, numbers, /, ., _, and -, with commas between paths.

Each shared file or folder is kept once in the site's folder, for example /home/jarvis/example.com/.env, and every release links to it. When you turn the feature on, an existing file or folder is moved there, so nothing is lost. Update .env edits that shared file, so all releases see the change.

With zero downtime deployment, the deployment script runs in each new release folder. Keep anything that must persist between deployments, like uploads, in a shared resource.

Page cache

WordPress sites only, on servers running nginx. Caches whole pages in nginx (FastCGI cache), so PHP doesn't run again for repeat visitors. Admin, login, cart, checkout, my-account, and logged-in visitors are never cached.

Turn it on with the switch. A form opens with the cache settings, and the configure button opens the same form later:

Field Description
Cache lifetime (minutes) How long a cached page is served before it's built again. Defaults to 30.
Max cache size (MB) The oldest pages are removed when the cache grows past this size. Defaults to 512.
Skip cache for URLs One path per line that's never cached, such as /wp-admin/, /cart, and /checkout. Letters, numbers, /, ., _, and - only.
Skip cache for cookies One cookie name per line. A visitor with one of these cookies, such as wordpress_logged_in, is never served from the cache.
Remove Set-Cookie on cached pages Sends cached pages without the cookies PHP sets, such as _fbp. Without this, pages that set a cookie are never cached. On by default.

Click Purge to delete every cached page, for example after publishing changes. Turning the feature off removes the cache and deletes the cached pages.