Skip to content

The "PHP Precompiler/Caching" project explores efficient ways to manage, optimize, and serve PHP files with improved performance.

License

Notifications You must be signed in to change notification settings

141512114/php-precompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Precompiler/Caching

The "PHP Precompiler/Caching" project explores efficient ways to manage, optimize, and serve PHP files with improved performance.
While not aiming to revolutionize the market, the project focuses on experimenting with practical techniques such as precompilation, smart caching, and minimal runtime overhead. Its primary goal is to serve as a testing ground for personal development and to better understand how PHP performance can be enhanced in controlled environments.

Over time, the project may evolve as insights and challenges emerge.

Planned

A concise list of things planned for this project and how it might be used.

  • It should be possible to generate ready-to-use php files via the command line with a command such as phppc compile.

  • The program should automatically generate those files on demand (e.g. by a user triggering it through visiting the page xyz).

  • The program should be lightweight and easy-to-use. To enable on-demand-caching you just throw in a

    require_once('[project_dir]/php_precompiler/auto_cache.php');

    somewhere near the top of your project and it automatically does its job with no further configuration (!!! highly unlikely !!!).

This project will essentially be a more primitive form of caching (I believe), so it will be inferior to its "competitors".

Version 2

Could be a more robust software programmed in C/C++ and feature some advancements over the PHP version.

About

The "PHP Precompiler/Caching" project explores efficient ways to manage, optimize, and serve PHP files with improved performance.

Topics

Resources

License

Stars

Watchers

Forks

Languages