Commit Graph

2 Commits

Author SHA1 Message Date
Landrok
f464e024c7 Cache made by var_export (performances)
Added:
  - choice of hash algo (for large sets of cache)
  - cache made by var_export instead of json_encode
  - fs cache is now put in a php file to be opcode cached by APC (PHP<5.5) or OPcache (PHP>=5.5)

var_export conv : if your cache values are only numbers, var_export will create larger files. But in this project, cache are mostly characters. So, your files will be smaller because they won't be 'json encoded'. 
- No json_encode/decode : better performances

Other things : var_export returns the exact PHP code so that it could be cached as opcode.
2014-02-10 00:59:38 +01:00
Yves ASTIER
927b04dfef Refonte du code 2013-08-11 13:30:41 +02:00