Browser Cache für JS im Template-Ordner Shop 4.0.2

TheOggy

Sehr aktives Mitglied
6. Oktober 2009
1.033
99
Berlin
Hi,

kämpfe gerade etwas mit dem Browser Cache und bekomme es für ein paar Dateien nicht hin, ohne das Google oder Webpagetest meckern.

hier meine htaccess
Code:
<IfModule mod_expires.c>
 ExpiresActive On
 ExpiresByType text/css "access plus 1 month"
 ExpiresByType text/javascript "access plus 1 month"
 ExpiresByType text/html "access plus 1 month"
 ExpiresByType application/javascript "access plus 1 month"
 ExpiresByType image/gif "access plus 1 month"
 ExpiresByType image/jpeg "access plus 1 month"
 ExpiresByType image/png "access plus 1 month"
 ExpiresByType image/x-icon "access plus 1 month"
</IfModule>
<ifmodule mod_headers.c>
 <filesmatch "\\.(ico|jpe?g|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>

# Deflate Compression by FileType
<IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE text/plain
 AddOutputFilterByType DEFLATE text/html
 AddOutputFilterByType DEFLATE text/xml
 AddOutputFilterByType DEFLATE text/css
 AddOutputFilterByType DEFLATE text/javascript
 AddOutputFilterByType DEFLATE application/xml
 AddOutputFilterByType DEFLATE application/xhtml+xml
 AddOutputFilterByType DEFLATE application/rss+xml
 AddOutputFilterByType DEFLATE application/atom_xml
 AddOutputFilterByType DEFLATE application/javascript
 AddOutputFilterByType DEFLATE application/x-javascript
 AddOutputFilterByType DEFLATE application/x-shockwave-flash
</IfModule>

hier die problematischen dateien
Code:
FAILED - ([B]No max-age or expires[/B]) - https://fonts.googleapis.com400,300
FAILED - ([B]No max-age or expires[/B]) - http://xxxx/templates/Evo/fonts/fontawesome-webfont.eot?v=4.4.0
FAILED - ([B]No max-age or expires[/B]) - http://xxxx/templates/Evo/fonts/fontawesome-webfont.woff2?v=4.4.0
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jtl.gallery.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/typeahead.bundle.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jtl.io.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jtl.article.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/photoswipe.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jtl.basket.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/slick.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/includes/plugins/jtl_debug/version/100/frontend/js/jtl-debug.js?v=1453198734
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/global.js?v=1453372881
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/spin.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jtl.evo.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/imgViewer.js?v=1453372881
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-hover-dropdown.min.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.waitforimages.js?v=1453372879
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.lazy.js?v=1453372878
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.nivo.slider.pack.js?v=1453372878
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.offcanvas.js?v=1453372878
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.backstretch.min.js?v=1453372881
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.dimension.js?v=1453372881
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.serialize-object.js?v=1453372878
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap.min.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-toolkit.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-select.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-grid.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-modal.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-tabdrop.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/bootstrap-slider.js?v=1453372880
WARNING - ([B]2.5 days[/B]) - http://xxxx/templates/Evo/js/jquery.touch.min.js?v=1453372879

System ist ein Testshop von uns mit 4.0.2.
Habe gesehen, dass der Template Ordner noch eine eigene htaccess Datei hat. Was mir aber nicht geholfen hat.

Jemand eine Idee?
danke und Gruß Tobi
 

martinwolf

Offizieller Servicepartner
SPBanner
6. September 2012
3.703
355
AW: Browser Cache für JS im Template-Ordner Shop 4.0.2

Den Wert für

Code:
 <filesmatch "\\.(js)$">
  Header set Cache-Control "max-age=[COLOR=#ff0000][B]216000[/B][/COLOR], private"
 </filesmatch>

ebenfalls auf 604800 setzen (7 Tage).
 
Ähnliche Themen
Titel Forum Antworten Datum
Neu Strange browser crashes and login session issues while running multiple web applications User helfen Usern 0
Neu Biete: KI-gestützte Produktdatenoptimierung für JTL-Wawi (Zero-Touch, mit Faktencheck) Dienstleistung, Jobs und Ähnliches 2
Neu Suche Setup-Datei / Installer für JTL-Wawi 1.6 (1.6.48.0) JTL-Wawi 1.6 1
Neu Ringscanner mit Akku zu verkaufen (für das WMS) Smalltalk 1
In Wawi 2.0.6 Kommentar 1 und Kommentar 2 für Lagerbestände von Kindartikeln desselben Vaterartikels nicht mehr über Vaterartikel pflegbar JTL-Wawi 2.0 4
Neu Identische Aufträge übernimmt nur für einen Auftrag die Kartonage JTL-WMS / JTL-Packtisch+ - Fehler und Bugs 0
Neu Merkmal oder Attribut für Produktdetailseite und Strukturierte Daten Betrieb / Pflege von JTL-Shop 2
Neu Plugin: Infinite Scroll / „Mehr laden“ für JTL-Shop 5 – einmalige Lizenz, kein Abo Plugins für JTL-Shop 0
Exportvorlage ZUGFeRD für Deutsche Bahn JTL-Wawi 1.11 1
Neu System für Ebay Artikelmerkmale - warum ist das so wichtig? User helfen Usern - Fragen zu JTL-Wawi 0
Neu Kapazitäten für anstehenden Auftragsspitzen Dienstleistung, Jobs und Ähnliches 1
Neu Ebay.com: Mehrfaches Dropdown-Menü für den Artikelzustand eBay-Anbindung - Fehler und Bugs 0
Neu Shipping 2.0 ist ein Grund für kleine Shops JTL zu verlassen bzw. gar nicht erst mit JTL anzufangen JTL-ShippingLabels - Ideen, Lob und Kritik 24
Wawi nur für ebay JTL-Wawi 2.0 2
Neu Exportvorlage für Shopify Schnittstellen Import / Export 1
Versandmail für Kaufland abstellen kaufland.de - Anbindung (SCX) 6
Neu 💚 Plugin: DZM Bonus Plus - das Treueprogramm für deinen JTL-Shop Plugins für JTL-Shop 12
Neu Stücklisten auf Vorlagen für Picklisten formatieren User helfen Usern - Fragen zu JTL-Wawi 0
Neu 🔥 𝐍𝐮𝐫 𝟓× verfügbar 𝟓𝟎% 𝐑𝐚𝐛𝐚𝐭𝐭 auf dein Besucherticket für die kommende JTL-Connect am 02.10.2026 in Köln Dienstleistung, Jobs und Ähnliches 0
Neu 💚 Plugin: DZM Agentic Plus - dein Shop wird für KI-Agenten lesbar und abfragbar Plugins für JTL-Shop 0
Neu Abgleiche für zweiten Mandanten bei Worker-Neustart deaktiviert JTL-Wawi - Fehler und Bugs 0
Neu Eigenen JTL-SCX-Marktplatzkanal für Multi-Vendor-Marktplatz erstellen – Erfahrungen gesucht Einrichtung und Installation von JTL-eazyAuction 3
Neu PPWR für Importeure aus dem Nicht-EU-Ausland Business Jungle 2
Neu 🚨 Sicherheitswarnung für JTL-Shop-Betreiber: Manipulation des Checkout-Prozesses durch externes JavaScript (Magecart- / Payment-Skimmer) Betrieb / Pflege von JTL-Shop 11
Neu Abschaltung Bewertungserinnerung für spezifische Kunden Allgemeine Fragen zu JTL-Shop 0
Neu Suche 10–15 JTL-Shops für kostenlose JTL-Shop-Analyse (verschiedene Branchen) Dienstleistung, Jobs und Ähnliches 0
Neu Wir suchen Mitstreiter für ein gemeinsames Konfigurator-Projekt Dienstleistung, Jobs und Ähnliches 0
Neu Wir suchen Mitstreiter für ein gemeinsames Konfigurator-Projekt User helfen Usern - Fragen zu JTL-Wawi 7
In Diskussion Workflow für Erinnerungen an bevorstehende Lieferungen JTL-Workflows - Ideen, Lob und Kritik 0
Neu Wie stelle ich Retouren in JTL für DPD ein? JTL-ShippingLabels - Ideen, Lob und Kritik 1
Neu JTL Shop Plugin - BD Automatisierter Widerruf (Von Händler für Händler - Schluss mit Mail-Chaos & Spam-Sorgen!) Plugins für JTL-Shop 0
Wroker macht keinen abgleich für Kaufland JTL-Wawi 2.0 8
Neu Beta-Tester gesucht: Produktdaten aus Artikelfotos schneller für JTL/CSV vorbereiten Dienstleistung, Jobs und Ähnliches 0
Neu Kundengruppeneinstellungen für Mindestabnahme und Abnahmeintervall löschen User helfen Usern - Fragen zu JTL-Wawi 1
Neu Installationsdatei für JTL‑Wawi 1.9.6.5 Installation von JTL-Wawi 2
Wie lange braucht ihr aktuell für die Anlage eines neuen Artikels? JTL-Wawi App 3
Neu kostenlos: DHL Sendungsverfolgung für JTL-Wawi – Web-Dashboard mit Frühwarnsystem Schnittstellen Import / Export 0
In Diskussion Tool für Abrechnung von Fulfillment Dienstleistungen Arbeitsabläufe im Fulfillment Network 0
Neu Widerrufsbutton für JTL-Shop 4 Allgemeine Fragen zu JTL-Shop 17
Neu Keine Labels für Warenpost international über Packtisch JTL-ShippingLabels - Fehler und Bugs 8
Neu Laut Backend Shop Update für Shop 5.71 - Download nicht zu finden? Betrieb / Pflege von JTL-Shop 3
Neu Meta Shop seit September 2025: JTL-Lösung für neue Checkout-URL gesucht Allgemeine Fragen zu JTL-Shop 0
Angebliche externe Aufträge "für Rechnungserstellung freigeben" und Rechnungen erstellen. Gibt es dazu eine akzeptable Erklärung von JTL? JTL-Wawi 1.11 1
Neu Artikelname & Beschreibung angepasst für jeweiligen Marktplatz Arbeitsabläufe in JTL-Wawi 1
Neu OnFinds: KI-Suche für JTL-Shop mit fairer Abrechnung nach Artikelanzahl. 30 Tage kostenlos testen Plugins für JTL-Shop 11
API 2.1 für OnPrem? JTL-Wawi 2.0 6
Neu Dummy-ID oder Freiposition für Angebot mit mehrzeiliger Beschreibung JTL-Wawi - Ideen, Lob und Kritik 7
Neu Neue Kennzeichnungspflicht für Elektrogeräte (Altgeräterücknahme) Betrieb / Pflege von JTL-Shop 4
Neu Freelancer für JTL-Wawi, Shop & Prozessautomatisierung Dienstleistung, Jobs und Ähnliches 2
Neu Exportgenehmigung / Ausfuhrgenehmigung automatisch für Auslandskunden als Aufpreis Allgemeine Fragen zu JTL-Shop 2

Ähnliche Themen