PHP-Speedy è un programma di compressione per siti costruiti in php, utilissimo per velocizzare automaticamente il caricamento delle pagine web.
In pratica php-speedy comprime i css, gli script Java e tante altre cose. E’ munito di programma di installazione, tutto in lingua inglese, non necessita di db sql, ma solo di una cartella scrivibile, qualche mb di spazio e una piccola modifica al file index.php
Ecco una demo: pagina senza compressione e la stessa compressa.
Installation - via auto-install
In order to install PHP Speedy you should:
- Download and unzip the PHP Speedy package into its own directory
- Point your browser to the PHP Speedy directory
- Follow the installation instructions
Installation - manual
If you prefer to manually install things:
- Download and unzip the PHP Speedy package into its own directory
- Delete the index.php and install.php files
- Open config.php
- Fill in the blanks for the variables (apart from username and password). You might enter something like this:
$compress_options[’document_root’] = “/home/my_site/public_html”;
$compress_options[’javascript_cachedir’] = “/home/my_site/public_html/aciddrop/php_speedy/”;
$compress_options[’css_cachedir’] = “/home/my_site/public_html/aciddrop/php_speedy/”;
$compress_options[’minify’][’javascript’] = “1″;
etc - Make sure the directories you specified for the cachedirs are writable
- For the GZIP, minify and expires options 1 is on and 0 is off
- Open the php file that controls the output of HTML that you will be compressing. This might be something like index.php. Include the php_speedy.php file at the very top, i.e like this:
require(’/home/my_site/public_html/aciddrop/php_speedy/php_speedy.php’); - Add this code at the very bottom $compressor->finish();
RSTP ("Raccomandati Se Ti Piacciono")
13/02 - Synback, utility per pianificare i backups automatici
10/02 - Virtualization in Linux: a Review of Four Software Choices
04/02 - Slony, per il backup dei nostri databases in Ubuntu
27/01 - Page Defrag, per chi non si accontenta del semplice defrag di Windows
23/01 - VirtualDub, ottimo tool open source per il video editing
14/01 - I 10 trucchi di Google
11/01 - Creare un feed RSS da qualsiasi pagina web con l'HTML Scraping
03/01 - FeedCreator, una delle migliori claasi PHP gratuite per scrivere feeds RSS e Atom
Altri links del "Mondo Open Source"
13/02 - Tape, Backup Software per Linux
12/02 - How do I Backup Thunderbird mail and profile under Linux
11/01 - BioBrew, Linux Distribution for Life Scientists
11/02 - Blag, Distro basata su Fedora Core
10/02 - Virtualizzazione, una rassegna di quattro opzioni
09/02 - Wine 0.9.5.5. released
05/02 - Nuova release per Bacula backup
04/02 - Gentoo Linux,Based on the Portage Management System
02/02 - Ubuntu 8.04 Hardy Heron releases: alpha 1, alpha 2, alpha 3 and alpha 4
02/02 - Simplebackup, cross-platform backup program
01/02 - Backup e Restore in Ubuntu, ecco come fare!
01/02 - Ecco, finalmente Firefox Mobile
22/01 - Bayanihan, le Filippine hanno la loro distribuzione Linux




digg it
del.icio.us









Non c’è ancora nessun commento. »