
12-05-2012, 06:53 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,216
|
|
Quote:
Can I remove the symlink after the X-LiteSpeed-Location header? ie.
header('X-LiteSpeed-Location: /files/tmp/temp.png');
unlink('/files/tmp/temp.png');
|
No, can't.
since the temp.png not sent to user yet.
the 1st line is to tell litespeed web server, "please send this file to user"
maybe you have to
Quote:
|
create a cron job, clean up these temporary soft link(a.jpg) which created 1 hours ago(for example).
|
|