You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better to use tmpfile for our temporary file here in the OptimizeHtml job. This means each optimizer would need to deal with a file handle instead.
It would be better to use tmpfile for our temporary file here in the
OptimizeHtml
job. This means each optimizer would need to deal with a file handle instead.Optimizers that need a filename, would just use stream_get_meta_data like this: https://stackoverflow.com/a/7690726
And then just closing the file handle at the end will automatically remove it from the filesystem. It all just seems safer.
The text was updated successfully, but these errors were encountered: