Plugin Author
Scott
(@scottsweb)
Sounds to me like the transients might be stuck in the database. I would search the wp_options
table for your transients and delete them by hand.
The other option is to change the transient name:
https://github.com/scottsweb/wp-instagram-widget/blob/master/wp-instagram-widget.php#L174
&
https://github.com/scottsweb/wp-instagram-widget/blob/master/wp-instagram-widget.php#L250
and see how you get on with that.
Thread Starter
timpax
(@timpax)
Thank you Scott for the quick answer!
I tried to delete the transients from the database.
DELETE FROM wp_options
WHERE option_name
LIKE (‘_transient_%’);
DELETE FROM wp_options
WHERE option_name
LIKE (‘_site_transient_%’);
I also used plugin Transient manager to remove the Instagram transient (instagram-a5-mommyworst) by hand and no luck.
If I use Safari’s network inspector the only request to Instagram is the one for the image:
http://scontent.cdninstagram.com/t51.2885-15/s320x320/sh0.08/e35/12907153_465747760285765_889392686_n.jpg?ig_cache_key=MTIyNTQwNTIzNzc2MjUzNjExNQ%3D%3D.2
I also tried renaming the transient to “instagram-a55-” and it still does not work.
Would you have any other ideas?
br, Timo
Plugin Author
Scott
(@scottsweb)
The only other thing I can think of is that the transients are being cached by WPEngine in a specific database cache. I think the clear cache button they provide to you is to clear a Varnish (full page) cache.
Perhaps worth opening a ticket with them to see what they do with transients and caching.
Thread Starter
timpax
(@timpax)
Hi Scott,
The problem is not with transients. After a bit of debugging it seems that the following line:
wp_remote_get( ‘http://instagram.com/’.trim( $username ) );
Retrieves a cached version of the Instagram page, I will continue with WPEngine to find out why.
Thanks,
Timo
Hello guys,
has this been resolved? I am currently experiencing something similar on site I have built:
http://brookesandsowerby.varndev.co.uk/brilliant-little-book/
I have checked the transients and I have none in the database so it must be something else.
Any suggestions please? I love this plugin as it is so easy to set up and I have used it multiple times.
Thank you,
Josef
Plugin Author
Scott
(@scottsweb)
As suggested above, I recommend reaching out to WP Engine to get some more details about how they cache transients and how to clear them.