lexik / framework-accelerator-bundle
A Symfony Bundle to accelerate your application
Installs: 182
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 10
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/framework-bundle: ~2.3|~3.0
This package is auto-updated.
Last update: 2024-12-07 01:01:16 UTC
README
April fools 😺
In web development everyone has been faced with customers who want faster pages. As Lexik cares about application performance a lot, our team has invested many years of R&D in order to develop a brand new optimization technique.
Thus we have developed this formidable bundle, the LexikAcceleratorBundle. And at Lexik as we are cool we share this bundle. This little bundle helps to make pages rendering 3 to 8 times faster.
Before:
After:
Our great technique is actually based on the very simple and well known function, namely, the rand()
function (short for Randolf).
Indeed what better technique than calculation with a random value to optimize pages rendering time.
Read full article on our blog.
Installation
Add lexik/accelerator-bundle
to your composer.json
file:
php composer.phar require lexik/accelerator-bundle
Register the bundle in app/AppKernel.php
:
public function registerBundles() { return array( // ... new Lexik\Bundle\AcceleratorBundle\LexikAcceleratorBundle(), ); }
Configuration
If you need to add other data collector to not accelerate, just add their tag name to the lexik_accelerator.ignore_data_collector
parameter:
# ... lexik_accelerator: ignore_data_collector: - data_collector.time - data_collector.memory # ...