• Resolved owen.hoskins

    (@owenhoskins)


    Hello,

    Firstly, great plugin, 5 stars 🙂

    I am using WP Engine (per your recommendation, actually) and it seems that their caching prevents all but the Retina.js method.

    I’ve just chatted with WPE support and they were hoping you, the plugin author, might know a tried and true way for using the Server side methods with their caching.

    Thanks in advance,
    Owen

    https://wordpress.org/plugins/wp-retina-2x/

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi 🙂

    Thanks for the rating! (oh, actually… did you rate it? :p)

    Yes, WPEngine doesn’t work with the HTML Rewriter, it has only one version of the cache. I talked to them many times about the issue and they are very aware of it. But obviously, they don’t really talk about it between each other 😉

    Anyway, what they told me at first is that they are not willing to do any change on their side because too few people have the need for it. But the more we are to ask for them to support this “2 caches” the more likely they will implement it (and it’s not much of a change on their side).

    People contacted me before for that purpose and I will redirect them to this forum so that they can participate. A staff from WPEngine actually also contacted me and told me he would like WPEngine to implement it (too bad he is not he big boss). Could you point more users to this thread too?

    Hopefully we can have WPEngine to work with me on this finally.

    count me in. i’ve raised a support ticket with them and this was the first response from staff:

    Hey there!

    Thanks for reaching out to us. Due to how CDNs function the javascript that retina.js utilizes will not work “out of the box”. Essentially what the CDN does is switch out the URLs using PHP. Once that occurs, the site loads, then the javascript tries to switch out a path that no longer works. This could work if the file was modified to work with the CDN, but currently it will not. I’d definitely recommend reaching out to your developer to get this handled.

    I hope this helps out. If you have any other questions, please let us know and we’ll be happy to help.

    James Gardner
    6am – 3pm, Central Standard Time, Sunday – Thursday
    Twitter: @JamesWPE
    WP Engine ~ Finely Tuned WordPress

    i really think that there is a very legitimate need on their end to make this work. there are a ton of hdpi displays out there, especially on the mobile front.

    so, i’m not sure what could be modified on my end, but if someone knows, please let me know.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Thanks sweetrobot! Yes, they can definitely do something. Mention the plugin name for this issue, they know the plugin, they heard of it many times and some of the staff at WPE even recommend it to their users. They just need a little bit of pressure to implement something that is very easy on their side, but they are not willing to do it for a few people only.

    i passed your reply on. i also notice that you are an affiliate of wpe, which site is linked to directly from within your plugin’s page in the wordpress backend.

    i would have imagined a smoother interplay of the two.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yeah I know. One of the WPE guy is in Japan and I will try to talk to him about the issue as well, directly. At least they are getting more and more requests about this and I believe one day they will just add this line of configuration they need on their servers to make it works.

    It’d be great if you’d add WPE configuration recommendations to the readme adjacent to where you recommend WPE.

    Plugin Author Jordy Meow

    (@tigroumeow)

    The best way to go about this Jon is to ask WPE to actually state by themselves what they recommend. There have been many discussions going on with their staff but they still didn’t implement anything on their side. I guess we should all poke them from time to time and eventually they will react.

    (Side note, I am just coming back from Maui, I was there a few days ago! Beautiful island! You are so lucky to live there!)

    Hope you had a nice visit — You should have stayed a bit longer 😉 I organize the Maui WordPress meetup, out monthly meeting is this week 🙂 I almost swung through Tokyo on my way home from Bali/Thailand a couple weeks ago, perhaps next time. Say hi to Kotsuke Ito if you know him 😉

    Anyway, I was just pointing out your readme states “WP Retina 2x also loves WPEngine and strongly recommend it for your hosting. It’s blazing fast and neat!” Yet there seems to be some confusion as to how to configure it for WPE. Even if the hope is that WPE will someday modify things on their side to work better, it’d be nice if you would make a clear instructions on how to set it up _now_ along with your recommendation for WPE.

    I’ll mention it to some folks at WPE, each prodding helps.

    Also FWIW, I just heard picturefill 2.0 is out and it seem there is a shiny new plugin using it. http://wordpress.org/plugins/picturefillwp/ I’ve long used you plugin quite happily, just point out alternatives to be checked out in the quest for responsive HiDPI happiness.

    Plugin Author Jordy Meow

    (@tigroumeow)

    That’s really interesting you are organizing the Maui WP meetup, I didn’t knew there were many developers there. To be honest, I thought there were also tourists, surfers and retired people 🙂

    Yes, I completely agree with you, this sentence was added because I have a deal with WPE, they host my website and they promised me we will find the perfect way to make everything works nicely.

    I heart about picturefill but it seems to be exactly the same as srcset (with a polyfill). I can easily add this to WP Retina 2x, it would actually be a nice alternative to use with WPEngine 🙂 I will start implementing it.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I have a concert however Jon. By using picturefill, the search engines will stop referencing the images, isn’t it?

    is there ANY progress? i’m still struggling with hdpi and WPE…

    @jordy – No idea. I have to assume Google’s crawler will soon support srcset if it doesn’t already. Otherwise, I suppose detect the UA and server them src= images.

    @sweetrobot – Use retina.js. Prod WPE to revise their caching to play nice.

    The reality is there still isn’t a good universal solution for all cases and it’s unlikely or at least difficult for shared hosts like WPE to tailor their full page caching to support multiple image sources.

    thanks #jon brown.

    an update- looks like we may have the WPE crew takign a deeper look into a solution. latest response i received from support:

    I am going to go ahead and get this ticket escalated for you so we can get this addressed, and hopefully investigate a solution with the plugin.

    Sit tight and we will get back to you as soon as possible. If you have any questions or information you would like to provide, please do not hesitate to follow up through this ticket.

    Thank you and have a great day!

    Ethan Kennedy | Customer Support Specialist
    WP Engine – Finely Tuned WordPress

    @sweetrobot did you ever hear back from WPE on this?

    I noticed picturefill.js is now an option, guessing that would work too but haven’t tested yet.

    we’ve been goign back/ forth a bit. i’ve just enabled the picturefill poly and they’ve escalated the issue. waiting to hear back.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘WP Retina 2x WP Engine HTML caching’ is closed to new replies.