Skip to content

Releases: DarkGhostHunter/Preloader

Fixed the file detection prior to preload it.

16 Jan 16:24
135cccf
Compare
Choose a tag to compare

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

15 Jan 18:40
001b8a8
Compare
Choose a tag to compare

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() and useRequire() 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

25 Dec 16:38
406fa5c
Compare
Choose a tag to compare

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

08 Dec 04:21
11dfd19
Compare
Choose a tag to compare

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() and exclude() now uses glob() 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

02 Dec 00:00
5df9e19
Compare
Choose a tag to compare

Few fixes to how to use Preloader in the README.md, which were all wrong.

First release

01 Dec 23:28
Compare
Choose a tag to compare

Yay! Start preloading your applications!