When someone throws a link to your site - the link is not the logo that is now, but the old one. Already rummaged everything - I can not understand why so?

    2 answers 2

    Most likely, the old version of the logo was cached by those to whom you send the link. In order to force browsers to pick up the current version of the image, in the link to the illustration, specify any GET-parameter.

    For example (where "v2" is a get parameter):

    <img src="/images/logo.png?v2" /> 

      Caching must either be disabled or properly configured to prevent such situations.

      You can still do so

       <img src="/images/logo.png?<? echo rand(); ?>" /> 

      But it's all crutches.

      • This is the PHP version. Because Diefair does not have a platform - it may not work. - Pavel Dmitrenko