Discussion:
Header image in WordPress plugin repository
Yanislav Iliev
2012-07-31 22:57:04 UTC
Permalink
Hi everyone,

How long does it usually take for a new header image to appear on WordPress plugin repository?
I am talking about the banner-772x250 image located in assets folder.

I guess there is a caching system (varnish) that cached the image. Will converting the image from jpeg to png and thus changing the
filename force the cache to be emptied?

Thanks!
-Yani
Mike Schinkel
2012-07-31 23:41:02 UTC
Permalink
Post by Yanislav Iliev
How long does it usually take for a new header image to appear on WordPress plugin repository?
I am talking about the banner-772x250 image located in assets folder.
Should be pretty quick.

Did you put into an assets directory on peer with trunk, or inside trunk? It needs to be outside of your plugin and at same level as trunk, not part of the plugin. I was reminded of this over the weekend when I updated a plugin that someone else on our team wrote. HTH.

-Mike
Mika A Epstein
2012-07-31 23:46:01 UTC
Permalink
It needs to be in /assets actually

/trunk/
/tags/
/assets/



----
Mika A Epstein (aka Ipstenu)
http://ipstenu.org | http://halfelf.org
Post by Mike Schinkel
Post by Yanislav Iliev
How long does it usually take for a new header image to appear on WordPress plugin repository?
I am talking about the banner-772x250 image located in assets folder.
Should be pretty quick.
Did you put into an assets directory on peer with trunk, or inside trunk? It needs to be outside of your plugin and at same level as trunk, not part of the plugin. I was reminded of this over the weekend when I updated a plugin that someone else on our team wrote. HTH.
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yanislav Iliev
2012-07-31 23:50:19 UTC
Permalink
Post by Mike Schinkel
Post by Yanislav Iliev
How long does it usually take for a new header image to appear on WordPress plugin repository?
I am talking about the banner-772x250 image located in assets folder.
Should be pretty quick.
Did you put into an assets directory on peer with trunk, or inside trunk? It needs to be outside of your plugin and at same level as trunk, not part of the plugin. I was reminded of this over the weekend when I updated a plugin that someone else on our team wrote. HTH.
-Mike
Thanks Mike!

It's really a strange issue.
When I access the header image directly: Loading Image...
it displays the old logo - (thenly) - it cannot be local cache as I've tried it on a fresh EC2 instance (wget url) and on a couple local computers - the result is always the same
The interesting part is that when I checkout the repository: svn co http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/
the image in that repository is the new logo?
Very strange :) - the only explanation that I have is that it is some sort of a web cacher like varnish that is caching the logo on s-plugins.wordpress.org:80

My repository structure is:
/
/assets/banner-772x250.jpg
/branches/
/tags/
/trunk/

Thank you for spending your time on this!
-Yani
Post by Mike Schinkel
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Mike Schinkel
2012-08-01 00:05:18 UTC
Permalink
Post by Yanislav Iliev
It's really a strange issue.
When I access the header image directly: http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
If you try these two they are different headers:

http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
Loading Image...

So it would seem to be a caching issue. Dunno how long the update will take. Otto?

-Mike
Dion Hulse (dd32)
2012-08-01 00:15:02 UTC
Permalink
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.

Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.

Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
Post by Yanislav Iliev
Post by Yanislav Iliev
It's really a strange issue.
When I access the header image directly: http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg?bust-cache
So it would seem to be a caching issue. Dunno how long the update will take. Otto?
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yanislav Iliev
2012-08-01 00:25:34 UTC
Permalink
Thank you everyone for your replies.
I have no problems waiting :) If any help is needed, just let me know.
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
Post by Yanislav Iliev
Post by Yanislav Iliev
It's really a strange issue.
When I access the header image directly: http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg?bust-cache
So it would seem to be a caching issue. Dunno how long the update will take. Otto?
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Otto
2012-08-01 00:49:26 UTC
Permalink
I'll be adding cache busting soon. It's been on my todo list for the last
week.

Sorry for the brevity and typos, sent from my phone.
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
Post by Mike Schinkel
Post by Yanislav Iliev
It's really a strange issue.
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg?bust-cache
Post by Mike Schinkel
So it would seem to be a caching issue. Dunno how long the update will
take. Otto?
Post by Mike Schinkel
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yanislav Iliev
2012-08-02 00:38:08 UTC
Permalink
A way around this is to convert and rename the banner image from jpeg to png or the other way around.

-Yani
Post by Otto
I'll be adding cache busting soon. It's been on my todo list for the last
week.
Sorry for the brevity and typos, sent from my phone.
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
Post by Mike Schinkel
Post by Yanislav Iliev
It's really a strange issue.
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg?bust-cache
Post by Mike Schinkel
So it would seem to be a caching issue. Dunno how long the update will
take. Otto?
Post by Mike Schinkel
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Otto
2012-08-02 04:42:25 UTC
Permalink
Post by Yanislav Iliev
A way around this is to convert and rename the banner image from jpeg to png or the other way around.
-Yani
Please don't do that. I will fix this soon. Promise. :D

-Otto
Otto
2012-08-02 15:34:09 UTC
Permalink
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
The cache-busting parameter has been implemented now. It will take
effect on the next plugin update.

So touch the plugin's readme.txt file or perform some other update of
your choice, and the cache will get busted for your banner image. It
will then get busted again when you change something in the assets
directory going forward.

-Otto
Yanislav Iliev
2012-08-02 19:27:55 UTC
Permalink
Thank you!
Post by Otto
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
The cache-busting parameter has been implemented now. It will take
effect on the next plugin update.
So touch the plugin's readme.txt file or perform some other update of
your choice, and the cache will get busted for your banner image. It
will then get busted again when you change something in the assets
directory going forward.
-Otto
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
darkstorns
2013-05-29 03:50:02 UTC
Permalink
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
-----
bieu thue xuat nhap khau
chu giai chi tiet ma hs
bo luat lao dong
bieu thue
--
View this message in context: http://wordpress-hackers.1065353.n5.nabble.com/Header-image-in-WordPress-plugin-repository-tp39227p41562.html
Sent from the Wordpress Hackers mailing list archive at Nabble.com.
Mike Schinkel
2012-08-01 00:33:45 UTC
Permalink
Hi Dion (and others),

Don't know if you or anyone else has noticed but the banner image is being served with Content Type "application/octet-stream" instead of with "image/jpeg." Not a big deal but it's not correct HTTP and more practically it causes a browser to download the file rather than display it if accessed directly via a URL. FWIW.


-Mike
Post by Dion Hulse (dd32)
s-plugins.wordpress.org is a Externally hosted CDN - Edgecast to be specific.
Right now, the only way is to wait for it to update, the Edgecast CDN
has a long cache expiry time, so WordPress.org needs to be updated to
add a Cache busting version/revision parameter by the look of it.
Sit tight for now, and someone will get the it fixed "soon" - I'm sure
you'd rather it fixed instantly, but that's not possible right now.
Post by Yanislav Iliev
Post by Yanislav Iliev
It's really a strange issue.
When I access the header image directly: http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg
http://s-plugins.wordpress.org/all-in-one-event-calendar/assets/banner-772x250.jpg?bust-cache
So it would seem to be a caching issue. Dunno how long the update will take. Otto?
-Mike
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Dion Hulse (dd32)
2012-08-01 00:39:12 UTC
Permalink
Post by Mike Schinkel
Hi Dion (and others),
Don't know if you or anyone else has noticed but the banner image is being served with Content Type "application/octet-stream" instead of with "image/jpeg." Not a big deal but it's not correct HTTP and more practically it causes a browser to download the file rather than display it if accessed directly via a URL. FWIW.
Thanks for mentioning it Mike (Saves me looking into why it was
happening), I also noticed that, and am in the process of p2'ing it :)
Continue reading on narkive:
Loading...