Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @fkoomek,

    That is very unusual. Could I get you to send us a copy of the HTML of one of these emails so we can take a closer look for you?

    There is an article at https://www.lifewire.com/how-to-view-the-source-of-a-message-in-gmail-1172105 that can show you how to copy the HTML of an email in Gmail. Then go to https://gist.github.com/ and paste in the HTML there. Then copy the URL to that Gist and paste it here in your reply.

    I would use an order note email to make sure you don’t send over any customer data.

    Look forward to hearing from you.

    Thread Starter fkoomek

    (@fkoomek)

    Hi.
    Thank you for your response, Three Sons. Here is the link to the gist:
    https://gist.github.com/fkoomek/ad0a0e4dfd283f0bfc0a0a2f707d9c6e

    I found out, that it’s maybe some browser issue that causes this problem. Maybe something with Google Chrome? I don’t know. I tried to open that email in other browsers and it seems to be displayed correctly.
    This issue happens on every computer with Google Chrome that I tried.
    Please, note that the logo isn’t the only affected image, it actually happens for all images in the email. You can even see that in the GIF I included before.
    There is a small flag and it also disappears and appears.
    Thanks.

    • This reply was modified 5 years, 8 months ago by fkoomek.
    Thread Starter fkoomek

    (@fkoomek)

    Next thing I discovered is that it only happens for the first time when I open the email. When I close it and reopen, it doesn’t happen again.

    Hi @fkoomek,

    Thanks for sending that over. The raw HTML of the email loaded without issue in Chrome for me.

    Here’s what I would try next. Open up a private window in Chrome and open up the email that way. See if that makes a difference for you. Private windows skip browser extensions, cookies, and other data and sometimes that makes a difference.

    Let us know how it goes.

    Thread Starter fkoomek

    (@fkoomek)

    Hi Three Sons,
    Thank you very much for your help. After further investigation I found out that this issue is caused by the following piece of code inserted in my htaccess file:

    # DISABLE CACHING
    <IfModule mod_headers.c>
    Header set Cache-Control “no-cache, no-store, must-revalidate”
    Header set Pragma “no-cache”
    Header set Expires 0
    </IfModule>

    I use it for disabling browser caching because there was some kind of conflict with caching plugin which I use.
    I don’t really know why this is happening yet.
    After I removed it and inserted it in htaccess again it’s working correctly. However, I don’t know for how long ??

    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.

    Hi @fkoomek,

    That is curious. If it starts happening again, you might reach out to the creator of the caching plugin and see if they have another way to accomplish this. That’s what I would do if this was happening to me. ??

    Thread Starter fkoomek

    (@fkoomek)

    Hi.
    Well, actually I am not sure if it’s a problem of that caching plugin. I already reached out the creator.
    Actually, my problem was/ is, and it would be interesting if you’d know or could tell me if this is normal behavior, that my WordPress site is always browser cached, even without any caching plugin installed. I think that it wasn’t like that in the past but now when I visit any page of my site, it’s instantly browser cached. I can even log in as administrator then and visit this page again but I land on the browser cached page, admin bar isn’t shown. I have to empty browser cache by CTRL + SHIFT + R to show admin bar.
    That’s why I put this rule in my htaccess and now I am using only server caching. But as I see this rule may have some undesirable side effects.

    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.
    • This reply was modified 5 years, 8 months ago by fkoomek.

    That’s a good question. WordPress doesn’t do that automatically. The web host could apply caching outside of WordPress though. You might check with the host and see if there is caching set up at the server level. If so hopefully they can give you settings that can make your site work properly with their cache.

    Thread Starter fkoomek

    (@fkoomek)

    Ok, great.
    Thank you very much for your support ??

    Always happy to help out ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Logo in email appears and dissappers’ is closed to new replies.