Cloudflare has introduced an experimental web framework, vinext, an alternative to the popular Next.js tool. The new project was developed in just a week with the active participation of artificial intelligence and shows a higher speed of application assembly. While the solution is considered experimental, it has already attracted the attention of developers.
What is known about the new vinext project
vinext is an experimental implementation of Next.js capabilities, but built on a different technology foundation, xrust reported. Instead of the Turbopack builder, the Vite build system is used.
The project was created as quickly as possible:
- development took approximately one week ;
- one Cloudflare engineer worked on it;
- the cost of using the artificial intelligence API was about $1,100 .
The project developer, engineer Steve Faulkner, said that the architecture of the future framework was first discussed with the AI, after which the system generated code and tests. If the tests were successful, the changes were accepted. If not, the AI received error messages and modified the code.
According to Faulkner, in total there were more than 800 sessions of interaction with the AI , which helped create a significant part of the code.
You can read more about the development on the official Cloudflare blog:
https://blog.cloudflare.com/
class=»notranslate»>__GTAG8__ Results of the first tests
Preliminary tests showed a noticeable advantage of vinext in terms of assembly speed project.
In a test application with 33 routes the results were as follows:
- vinext assembly — 1.67 seconds
- Next.js assembly — 7.38 seconds
- Next.js: 168.9 KB
- vinext: 72.9 KB
- page routing;
- server rendering;
- React Server components;
- server actions;
- page caching;
- middleware.
- caching;
- server rendering;
- ISR (incremental static regeneration) — updating pages after the first request.
- analyzes traffic statistics website;
- identifies pages with real traffic;
- generates only the most popular ones in advance.
- an online store can have 100,000 product pages ;
- while 90% of traffic comes from only 50–200 pages .
- more than 1700 tests Vitest ;
- about 380 end-to-end Playwright tests ;
- TypeScript type checking;
- automatic linting.
class=»notranslate»>__GTAG5__
Thus, the new tool turned out to be about 4.4 times faster than .
The size of client packages has also been reduced:
This means decrease by approximately 57% .
However, Cloudflare emphasizes that such figures cannot yet be considered final. They are based on one test project only and may differ in real applications.
What features does vinext support
Despite its experimental status, vinext already implements many of the features familiar to Next.js developers.
Among them:
The main feature is the implementation of these capabilities in the form of a plugin for Vite , and not on top of Next.js. Thanks to this, approximately 95% of the code remains independent from the specific platform .
Developers call the Cloudflare Workers cloud platform the main launch environment.
To publish a project, one command is used:
vinext deploy
This allows you to quickly deploy a web application on the Cloudflare infrastructure.
Limitations of the new framework
Despite the quick tests, vinext still has important limitations.
The main one is the absence of static preliminary generation of pages during assembly. Classic Next.js uses this feature to speed up loading sites.
Currently vinext only supports:
The developers note that full static generation of pages is in the plans for future updates.
Experimental pre-generation technology
Instead of the traditional approach, Cloudflare is testing a new mechanism called Traffic-aware Pre-Rendering (TPR) .
It works differently:
For example:
TPR creates these pages in advance, and the rest are generated dynamically when the user requests.
This approach reduces the load on the server and speeds up the loading of popular pages. However, the system only works for sites that already use Cloudflare analytics.
You can learn about the technology on the official website:
https://developers.cloudflare.com/
class=»notranslate»>__GTAG15__ Reaction of the developer community
The appearance of vinext caused active discussion among programmers.
Some developers expressed doubts about long-term support for the project, since much of the code was generated by artificial intelligence. “It turns out that the code is not actually supported by people.”
Cloudflare responds to this by saying that all code undergoes strict quality checks:
According to the company’s engineers, this approach allows you to control quality even with the active use of AI.
Briefly about the news
Cloudflare is one of the largest providers of cloud services and infrastructure for the Internet. The company is developing the Cloudflare Workers platform, which allows you to run server code on a distributed network around the world.
The Next.js framework is considered one of the most popular tools for creating web applications based on React. It is used by thousands of companies and developers.
The emergence of vinext shows a new trend in the industry: the use of artificial intelligence not only in applications, but also in the software development process itself .
Xrust Cloudflare introduced vinext, an AI-powered alternative to Next.js
- Если Вам понравилась статья, рекомендуем почитать
- Tesla Announces Software Update: New 'Hey, Grok' Self-Driving App and More
- Autodesk Water 2027: what's new in the ecosystem of solutions








