Softwr

Mobile Development · head to head

Apache Cordova vs Cloudflare Pages

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
Cloudflare Pages logo

Cloudflare Pages

Web Development

Git-connected hosting for static sites and full-stack frontends on Cloudflare's network

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Cloudflare Pages lists git-connected builds and deploys.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Cloudflare Pages falls short: cloudflare recommends Workers for new projects, so Pages is in maintenance mode.

How do Apache Cordova and Cloudflare Pages differ?

Apache Cordova and Cloudflare Pages differ on pricing model (Open-source against Freemium), platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Cloudflare Pages actually diverge.

Attributes where Apache Cordova and Cloudflare Pages differ
AttributeApache CordovaCloudflare Pages
Pricing modelOpen-sourceFreemium
PlatformsiOS, Android, Windows, macOS, LinuxWeb
CategoryMobile DevelopmentWeb Development

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Cloudflare Pages.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 8 only for Cloudflare Pages. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in Cloudflare Pages

  • Git-connected builds and deploys
  • Direct Upload of prebuilt assets
  • Pages Functions for server-side code
  • Preview deployments
  • Instant rollbacks
  • Custom domains
  • Unlimited sites, seats, requests and bandwidth
  • Framework guides for Next.js and others

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Cloudflare Pages for hosting static sites with unlimited bandwidth. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot Cloudflare Pages
  • Single codebase for iOS and Androidnot Cloudflare Pages
  • Prototyping mobile apps with web skillsnot Cloudflare Pages
  • Accessing device features from JavaScript through pluginsnot Cloudflare Pages

Cloudflare Pages

  • Hosting static sites with unlimited bandwidthnot Apache Cordova
  • Deploying frontend frameworks from GitHubnot Apache Cordova
  • Sharing preview links with designersnot Apache Cordova
  • Adding light server-side logic with Functionsnot Apache Cordova
  • Running documentation or marketing sites cheaplynot Apache Cordova

Where do Apache Cordova and Cloudflare Pages fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Cloudflare Pages's: cloudflare recommends Workers for new projects, so Pages is in maintenance mode. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

Cloudflare Pages

  • Cloudflare recommends Workers for new projects, so Pages is in maintenance mode
  • Free plan caps at 500 builds a month and 20,000 files
  • A single asset is limited to 25 MiB per file
  • Deployments older than 30 days are deleted unless recent

How much do Apache Cordova and Cloudflare Pages cost?

Apache Cordova is free to use; Cloudflare Pages is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Cloudflare Pages

Free

No published plan breakdown. See the Cloudflare Pages review.

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose Cloudflare Pages if

  • You need git-connected builds and deploys.
  • You want to start without paying.
  • You also want direct upload of prebuilt assets.

Questions people ask

Is Apache Cordova or Cloudflare Pages better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Cloudflare Pages fits hosting static sites with unlimited bandwidth. Apache Cordova starts at Free and Cloudflare Pages at Free.
Which is cheaper, Apache Cordova or Cloudflare Pages?
Apache Cordova starts at Free and Cloudflare Pages at Free.
Does Apache Cordova or Cloudflare Pages run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Cloudflare Pages runs on Web.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Cloudflare Pages is typically brought in for.
What can Apache Cordova do that Cloudflare Pages cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Cloudflare Pages covers Git-connected builds and deploys, Direct Upload of prebuilt assets, Pages Functions for server-side code, Preview deployments.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
Cloudflare Pages: Is Cloudflare Pages free?

Yes, there is a Free plan with 500 builds a month, and the vendor says all plans include unlimited sites, seats, requests and bandwidth.

Source
Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
Cloudflare Pages: Should I start a new project on Pages?

Cloudflare's documentation says new static sites and full-stack apps should start with Cloudflare Workers.

Source
Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
Cloudflare Pages: What are the file limits?

Sites can contain up to 20,000 files on the Free plan, and a single asset can be up to 25 MiB.

Source
Cloudflare Pages: How do I deploy to Pages?

Connect a Git provider, upload prebuilt assets with Direct Upload, or use the C3 command line tool.

Source
Share

Related pages

Other head to heads