Neu cookies

Marktwert

Gut bekanntes Mitglied
18. Oktober 2016
151
14
Hallo,
sorry für die Frage, habe aber gerade keine Ahnung.

Wie muss man das (siehe Bild) ausfüllen, finde keine Anleitung im WWW. -Habe gelesen, wenn man da Fehler macht, kann man sich sogar im Backend aussperren.

Ziel ist es, beim Pagespeed folgende eintrage wegzubekommen:
Code:
The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
https://ssl.google-analytics.com/ga.js
https://fonts.googleapis.com/css?family=Lato:400,700,400italic
https://www.kindique.de/asset/gruen_lila.css?v=4.05
https://www.kindique.de/asset/jtl3.js?v=4.05
https://www.kindique.de/asset/plugin_css?v=4.05
https://www.kindique.de/asset/plugin_js_head?v=4.05
https://www.kindique.de/includes/plugins/jtl_search/version/110/frontend/js/suggest.js

Meine htacess sieht so aus:
Code:
IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    <FilesMatch "\.(bmp|cur|gif|ico|jpeg|png|svgz?|webp)$">
      SetEnvIf Origin ":" IS_CORS
      Header set Access-Control-Allow-Origin "*" env=IS_CORS
    </FilesMatch>

    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
  </IfModule>
</IfModule>

<IfModule mod_filter.c>
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE \
      "application/atom+xml" \
      "application/javascript" \
      "application/json" \
      "application/ld+json" \
      "application/manifest+json" \
      "application/rdf+xml" \
      "application/rss+xml" \
      "application/schema+json" \
      "application/vnd.geo+json" \
      "application/vnd.ms-fontobject" \
      "application/x-font-ttf" \
      "application/x-javascript" \
      "application/x-web-app-manifest+json" \
      "application/xhtml+xml" \
      "application/xml" \
      "font/eot" \
      "font/opentype" \
      "image/bmp" \
      "image/jpeg" \
      "image/png" \
      "image/svg+xml" \
      "image/vnd.microsoft.icon" \
      "image/x-icon" \
      "text/cache-manifest" \
      "text/css" \
      "text/html" \
      "text/javascript" \
      "text/plain" \
      "text/vcard" \
      "text/vnd.rim.location.xloc" \
      "text/vtt" \
      "text/x-component" \
      "text/x-cross-domain-policy" \
      "text/xml"
  </IfModule>
  <IfModule mod_mime.c>
    AddEncoding gzip svgz
  </IfModule>
</IfModule>

<IfModule !mod_filter.c>
  <IfModule mod_deflate.c>
    <FilesMatch "\\.(js|css|html|htm|xml)$">
      SetOutputFilter DEFLATE
    </FilesMatch>
  </IfModule>
</IfModule>



<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 month 1 days"
  ExpiresByType text/html "access plus 1 month 1 days"
  ExpiresByType image/gif "access plus 1 month 1 days"
  ExpiresByType image/jpeg "access plus 1 month 1 days"
  ExpiresByType image/png "access plus 1 month 1 days"
  ExpiresByType text/css "access plus 1 month 1 days"
  ExpiresByType text/javascript "access plus 1 month 1 week"
  ExpiresByType application/x-javascript "access plus 1 month 1 days"
  ExpiresByType text/xml "access plus 1 seconds"
</IfModule>

<ifmodule mod_headers.c>
 <filesmatch "\\.(ico|jpeg|png|gif|swf)$">
 Header set Cache-Control "max-age=2592000, public"
 </filesmatch>
 <filesmatch "\\.(css)$">
  Header set Cache-Control "max-age=604800, public"
 </filesmatch>
 <filesmatch "\\.(js)$">
  Header set Cache-Control "max-age=216000, private"   
 </filesmatch>
</ifmodule>



<IfModule mod_rewrite.c>
  RewriteEngine on

  #REWRITE ANPASSUNG 1 (REWRITEBASE)
  #Wenn Ihr Shop in einem Unterverzeichnis (also z.B. meinedomain.de/meinverzeichnis) installiert ist, so kommentieren Sie die kommende Zeile aus und passen Sie den Verzeichnisnamen an
  #RewriteBase /

  #REWRITE ANPASSUNG 2 (auf www.meinedomain.de umleiten)
  #Ihr Shop sollte nicht unter www.meinedomain.de und nur meinedomain.de erreichbar sein, siehe: http://guide.jtl-software.de/index.php?title=JTL-Shop3-Neuinstallation#4._Einrichtung_einer_Domainweiterleitung
  RewriteCond %{HTTP_HOST} ^kindique.de
  RewriteRule ^(.*)$ https://www.kindique.de/$1 [r=301,L]

  #Rewrite der JTL-Shop-URLs
  #Aendern Sie an diesen Zeilen nichts!
  RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ includes/sitemap.php?datei=$1 [L]
  RewriteRule ^export/((sitemap_).*\.(xml|txt)(\.gz)?)$ $1 [L]
  RewriteRule ^asset/(.*)$ includes/libs/minify/?g=$1 [L]
  RewriteRule ^robots.txt$ robots.php [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^. index.php [L]
</IfModule>

FileETag None
#Server Signatur deaktivieren
#ServerSignature Off


Bitte um Hilfe
 

Anhänge

  • Bildschirmfoto 2017-03-16 um 07.36.57.png
    Bildschirmfoto 2017-03-16 um 07.36.57.png
    77,9 KB · Aufrufe: 15

hula1499

Sehr aktives Mitglied
22. Juni 2011
5.172
1.078
Hängt unmittelbar mit deinem anderen Beitrag zusammen.

Urls mit Versions/Variablen, also dieses ?v= kann nicht gecached werden.
 

Marktwert

Gut bekanntes Mitglied
18. Oktober 2016
151
14
Ich bekomme aber diese Meldung auch noch bei Dingen ohne Versionsangabe (nicht immer), bringen hier die Cookies was?
Was muss man für Cookies machen (gibt es eine Anleitung?)

Code:
https://www.kindique.de/mediafiles/Bilder/8355.jpg
https://www.kindique.de/mediafiles/Bilder/8620.jpg
https://www.kindique.de/mediafiles/Bilder/8645.jpg
https://www.kindique.de/mediafiles/Bilder/8666.jpg
https://www.kindique.de/mediafiles/Bilder/8713.jpg
https://www.kindique.de/mediafiles/Bilder/8833.jpg
https://www.kindique.de/mediafiles/Bilder/8932.jpg
https://www.kindique.de/mediafiles/Bilder/8936.jpg
https://www.kindique.de/mediafiles/Bilder/8957.jpg
https://www.kindique.de/mediafiles/Bilder/8960.jpg
https://www.kindique.de/mediafiles/Bilder/9264.jpg
https://www.kindique.de/mediafiles/Bilder/9371.jpg
https://www.kindique.de/mediafiles/Bilder/icon-paypal.png
https://www.kindique.de/templates/Evo/themes/base/images/slider/light/loading.gif
https://www.kindique.de/templates_c//11f70194fc4c43271f58367e996a0878.png
https://www.kindique.de/templates_c//12331497b45a571b02faf7b675e9ed8a.png
https://www.kindique.de/templates_c//3a5894ab26cbd9964bb58bfaca742a1c.png
https://www.kindique.de/templates_c//431de2ee21a29f1b9b36c1321b5e716b.png
https://www.kindique.de/templates_c//84e177e6aa7cbd343396cd9a7d2c03a4.png
https://www.kindique.de/templates_c//88af0fe47cff253472a1e0061ac99f95.png
https://www.kindique.de/templates_c//8bd67679ce54f9228dbada4659103160.png
https://www.kindique.de/templates_c//96682793b3062db8cd05f0729e3a677f.png
https://www.kindique.de/templates_c//a9bc651ac837932c2e12f0d3bcbd845d.png
 

hula1499

Sehr aktives Mitglied
22. Juni 2011
5.172
1.078
NAchdem der andere Post, für mich unverständlich, wegen Doppelpost zugemacht worden ist, halt hier meine bereits geschriebene Antwort :D

Ja, in allen 34231 TPL Datein ;)

Nein, natürlich nicht in allen, aber in ein paar speziellen, du müsstest da einige Dinge umschreiben, das ist nix, wo man jetzt auf die schnelle sagt:
da, geh in 2 tpls, änder 2 Parameter und fertig ist das ganze.
Es gibt da noch Abhängigkeiten dran, es ist nicht Updatesicher etc.

plugin_css zb.
da gibts zb. die inc_css.tpl schau da mal rein.
Wenn du siehst, was du machen kannst, kannst dich hier durchwühlen.
Wenn aber gleich die FRage kommt: was muss ich da machen -> lass es lieber und frag einen ServicePartner
 

Marktwert

Gut bekanntes Mitglied
18. Oktober 2016
151
14
wenn das nichts mit den Cookies zu tun hat, wie bekomme ich das dann weg?danke erstmal für die Antwort.

Die Dateien gibts bei mir nicht, auch im neu runtergelassenen jtl- shop-405 nicht.
 

martinwolf

Offizieller Servicepartner
SPBanner
6. September 2012
3.385
263
die plugin_css baut der Shop dynamisch über die minify Funktion zusammen, die gibt es physisch nicht. Die inc_css.tpl gibt es nur in Hypnos, im EVO findet sich die CSS Einbindung in der layout/header.tpl.
 
Ähnliche Themen

Ähnliche Themen