-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some images cannot be cached by 【Sputniknews. cn】, Russian satellite news agency #6
Comments
Can't replicate, it works on my setting:
You need to provide more info, like response header, or curl verbosed output. |
hc.php=piccache.php The output file size is 0 |
The piccache serving seems to be working fine. When the server is downloading this particular image, the connection is broken, causing an empty file to be created with no content written to it. Then when you accessing it, the caching server checked that the cache exists and pass you the wrongly downloaded empty file. I think this error occurrence should be very rare. If you insist on fixing the specific image, deleting this file would work:
or simply removing the entire folder If you are seeing lots of empty images, or still outputing empty files, please let me know. |
freshrss :docker image: freshrss/freshrss:1.23.1
freshrss log 2. Encountered another serious problem. Using version 0.4 to enable active caching seems to cause feed updates to freeze.I am replacing 0.4 with the old version 0.3. After replacing with version 0.3. There is no such issue |
This seems strange. Can you attach your piccache.php file? if you flush the cache folder, and change function get($url)
{
if ( file_exists(get_name($url)) ) {
$file = get_name($url);
return filesize($file) != 0 ? $file : null;
} else {
return null;
}
} can you see the picture? |
|
1、Only the line "define (" CACHE-PLACEPATH ","../../data/")" has been modified. The rest remain unchanged |
https://cdn.sputniknews.cn/img/07e7/03/09/1048554996_0:240:1280:960_1920x0_80_0_0_1ef90b9d0835157789ba71fd099d385c.jpg.webp 【no】
https://cdn.sputniknews.cn/img/102466/86/1024668632_0:143:960:683_1920x0_80_0_0_f949eadf9a0e7b6f3d9dd095e4832d74.jpg.webp 【yes】
The text was updated successfully, but these errors were encountered: