Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #622050

    Hallo

    I will change Vary:user-Agent at the HTTP Header to optimize the Homepage.

    Can I help me.

    #622834

    Hi imweb-team,

    I’m not sure what you mean by that, what exactly do you want to change into what and for what purpose?

    Thanks,
    Rikard

    #622854

    Hallo,

    I will change this to optimize my Homepage SEO.

    The tool have problems with paage speed.

    Die Seite liefert komprimierte Daten (z.B. gzip), aber der “Vary” Response Header berücksichtigt dies nicht. “Vary” sollte den Wert “Accept-Encoding” beinhalten, damit der Server korrekt kommuniziert, dass die Antwort eine andere ist, sobald der Client Komprimierung erlaubt. Somit verhindert man User Experience Probleme die bei manchen Browsern auftreten könnten.

    I think I must change the function .php

    Can you help me?
    Annette

    #624576

    Hi,

    Have you checked this article?
    https://varvy.com/mobile/vary-user-agent.html

    Best regards,
    Josue

    #737201

    Hello, have made the changes in the .htaccess. I also have to make the changes in the function.php. At the moment the vary header does not work.
    Kind regards,

    <IfModule mod_headers.c>
    Header append Vary: Accept-Encoding
    </IfModule>

    #738888

    Hi,

    Can you please try changing the code to following one

    <IfModule mod_headers.c>
      <FilesMatch "\.(js|css|xml|gz)$">
        Header append Vary: Accept-Encoding
      </FilesMatch>
    </IfModule>

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.