| 
| File: | lib/class.fontperformance.php |  
| Role: | Class source |  
| Content typex: | text/plain |  
| Description: | Class source |  
| Class: | PHP Font Face Performance Control Optimize the load of page fonts embedding into CSS
 |  
| Author: | By riccardo castagna |  
| Last change: | PHP MAIN CLASS 
 important update: before this update, with an option, the files were downloaded locally and the client device did not have to connect to the external fonts but the server, however, always did.
 With this update, in addition to the files of external fonts downloaded, text files are created and the server, verifying the presence of these text files, no longer connects to the server of external fonts.
 This update further improves web performance and fonts seem to be welded.
 PHP MAIN CLASS
 PHP MAIN CLASS
 
 Sometime with arrays and loops curl_multi_init  loses some hits, to work around this problem  it is necessary to divide the loop into two parts: the start with key number zero and than, all the rest. In this way the curl_multi_init doesn't lose any hits.
 |  
| Date: | 7 years ago |  
| Size: | 14,828 bytes |  
|  |  |  |