content-cards icon indicating copy to clipboard operation
content-cards copied to clipboard

Critical issue with image caching

Open khromov opened this issue 10 years ago • 6 comments

After updating to 0.9.1 and trying to add a content card, it went into an infinite loop and started downloading images infinitely. It created 1000 images before I managed to manually stop the web server.

Aside from that, these images were not properly hidden from the media library.

Here's an example: screen shot 2015-09-08 at 10 24 21

I suggest retracting the 0.9.1 upgrade for now. @ideag

khromov avatar Sep 08 '15 08:09 khromov

Here's the embed link I used:

http://www.meetup.com/WordPress-Stockholm/?foobar

khromov avatar Sep 08 '15 08:09 khromov

@khromov sorry, but I cannot reproduce this on three of my test sites (localhost, digital ocean droplet and a local Lithuanian VPS).

ideag avatar Sep 08 '15 08:09 ideag

P.S. I see you have not the latest WordPress version. Maybe that's the problem?

ideag avatar Sep 08 '15 08:09 ideag

I can try to replicate with the same plugins later. The site is running 4.2.4.

I noticed the extensions appear to be cut off. (".jpe")

Anyway, are there any loops that could potentially trigger this behaviour? Maybe we should have some sanity checking to avoid getting into infinite loops?

khromov avatar Sep 08 '15 09:09 khromov

@khromov I don't believe there is a single loop in the code that runs caching. Except maybe in WordPress native functions, but those should not be a problem, too.

ideag avatar Sep 08 '15 09:09 ideag

I had a client come to me with a similar problem. I think what is going on is the old images are not deleting on Cron tasks. It is hosted on SiteGround if that helps.

sweethoneycode avatar Jun 14 '16 01:06 sweethoneycode