Releases: DarkGhostHunter/Preloader
Releases · DarkGhostHunter/Preloader
Fixed the file detection prior to preload it.
What's changed?
- Just fixed the file detection and exception handling before uploading each of the files to opcache. This should work regardless of the mechanism used (compile or require).
What's added?
- Nothing.
What's removed?
- Nothing.
Change the upload mechanism
What's changed?
- The opcache hits result, which is returned as a float, now formats the float as it should. I mean, now you will get something like
23.54%
. This is nice. - Code-cleaned the test file.
What's added?
- The
useCompile()
anduseRequire()
for uploading the file to Opcache. The latter is the default, though. - And the tests methods to test these methods. No pun intended. Okay, may be a little.
- And a nice TOC for the REAME.md. Ensure you read it btw.
What's removed?
Nothing.
Multiple fixes
What's changed?
Just the output script that shows MB instead of bytes.
What's added?
A way to get the real path of the script file before writing the script itself.
What's removed?
Nothing. I guess.
Added glob() and fixed two things
What's changed?
-
The
whenHits()
now checks if the hits are above a threshold. For example, setting 200.000 will trigger the Preloader after the 200.000 hits, not before. -
The
append()
andexclude()
now usesglob()
function, that basically allows you to have better control on what files to add. It will still respect including files that don't exists... yet.
What's added?
- The
includePreloader()
will also include the Preloader package files into the list, and will contribute to the memory limit of the list. It's disabled by default.
What's removed?
Nothing.
Fixed calls in README.md
Few fixes to how to use Preloader in the README.md, which were all wrong.
First release
Yay! Start preloading your applications!