Project

General

Profile

« Previous | Next » 

Revision 86ccdfd0

Added by Scott Ullrich over 19 years ago

Call preload.php on bootup to cache APC data

View differences:

etc/rc
208 208
/usr/local/sbin/check_reload_status >/dev/null &
209 209

  
210 210
echo -n "Pre-caching PHP for faster responses..."
211
echo \n\n| fetch -q -o /tmp/ http://localhost/index.php 2>&1
211
echo \n\n| fetch -q -o /tmp/ http://localhost/preload.php
212 212
rm -f /tmp/phpfast
213 213
echo " done!"
214 214

  

Also available in: Unified diff