[wp-trac] [WordPress Trac] #22329: Retina Gravatars
WordPress Trac
noreply at wordpress.org
Fri Nov 16 16:43:50 UTC 2012
#22329: Retina Gravatars
-------------------------+------------------------------
Reporter: miqrogroove | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion |
-------------------------+------------------------------
Comment (by miqrogroove):
A note on the direction the plugin is taking: The pure Javascript
solution doesn't catch Gravatars added by ajax actions. This problem is
less obvious in the devicepx.js solution because the script gets executed
every second after page load. Still, devicepx.js is not needed. I was
able to implement server-side Gravatar filtering by setting a cookie in
Javascript on the first visit. This strategy is compatible with admin
pages only. Admin pages don't get cached. If anyone is using ajax on the
front end, I'll have to figure out how to hook into those hits without
affecting the cached pages.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22329#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list