Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How to clear gravatar cache without plugin?
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Dec 19, 2018 - 8:31 pm

We have an odd issue related to Avatars that I need help troubleshooting:

1. We do not allow avatar uploads via SimplePress.

2. We do not use the SP Gravatar Cache plugin (Just discovered it!).

3. We use an Avatars plugin for WordPress Multisite that does not interact with Gravatar in any way.

4. We do not and have never used Jetpack, or its Photon CDN.

5. Our SP Avatar Priorities are: WP Avatars -> SP Default Avatars -> Gravatars

Now...

I uploaded new default avatar files using the Avatars plugin (Not SP), however, I still notice avatars in our forum being loaded from what appears to be a Gravatar URL.

Old Default Avatar Image URL Example:

https://i0.wp.com/tripawds.com......png?ssl=1

The latter part of that URL points to the correct location of the new image files:

/wp-content/plugins/avatars/avatars-files/images/default-avatar-96.png

Which load properly here:

https://tripawds.com/wp-conten.....tar-96.png

So, it appears to me that some sort of Gravatar caching is going on.

My question is:

Could SimplePress be causing this?

Is there any way to purge this Gravatar cache within SimplePress if we do not use the Gravatar Cache plugin?

Isthere a way to remove Gravatars from the Priorities list?

Does the Gravatar Cache plugin have a function to purge the cache? If so, would you recommend trying that?

Guess that's more than one question.

Thanks in advance for any feedback!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Dec 19, 2018 - 8:37 pm

If you use the WP Avatars, its possible that the Gravatar is cached in WP itself.  An example case - I've seen instances where we've set up a third party avatar plugin that randomly assigned avatars to users and then those avatars stuck around even after the 3rd party plugin was removed - meaning that WP probably has it cached somewhere.  

Thanks.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Dec 19, 2018 - 8:47 pm

Simple Press said
...WP probably has it cached somewhere. 

Right, any idea how or where to clear that cache?

Thanks for the quick reply! I forgot to mention that we do have WP configured to use our 3rd party Avatars, and have re-saved that setting - which shows the new correct avatar - but the old defaults still load from i0.wp.com in the forums...

Screen-Shot-2018-12-19-at-5.42.13-PM.pngImage Enlarger

Screen-Shot-2018-12-19-at-5.10.25-PM.pngImage Enlarger

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Dec 19, 2018 - 8:53 pm

I honestly have no idea.  I can't even tell you how or where it stores those files if it does cache them. And google isn't much help - as you probably already know... 

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Dec 19, 2018 - 11:26 pm

Does the SP Gravatar Cache plugin have a function to purge the cache?

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 20, 2018 - 4:03 am

Morning Jim

I can only really help with questions regarding the SP plugin 'Gravatar Cache' as I am not that familiar with The WP Avatar options.

So - no there is no actual reset. However, uninstalling the Gravatar Cache plugin will remove the folder gravatars are cached to. But - if you do not use the plugin then there should be no such folder. You can check this by looking at your 'storage locations' under 'wp-content'. The name of the folder would be 'forum-gravatar-cache'.

Just for the record, I always considered the SP Gravatar Cache plugin to be a bit of an unrecognised gem. For sites that DO allow gravatars the performance advantage the plugin gives is quite stunning. I think we always undersold it really.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Dec 20, 2018 - 12:57 pm

Yellow Swordfish said
...no there is no actual reset. However, uninstalling the Gravatar Cache plugin will remove the folder gravatars are cached to. But - if you do not use the plugin then there should be no such folder.

Thank you for the clarification. I had no idea where exactly the plugin cached the images/.

Further reading of Jetpack and Gravatar documentation suggests the only way to clear i0.wp.com cached images is by direct request, which I have done. Just still stumped as to why they are loading from there in the first place.

Thanks for all the input!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79616