- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2 - cache template (html)
Ciao a tutti, c'è qualche gestione particolare della cache per i template html?
Modificando un file.html... andando a rimuovere i files statici, con
cache:flush
e anche facendo
setup:upgrade
e deployando tutto da 0... vengono generati dei files statici con i vecchi contenuti.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
provato con il comando deploy?
Problema risolto? Clicca Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
Si, ho provato a deployare di tutto, anche singolarmente il tema e lingua, per quello mi è venuto il dubbio.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
No intendo il comando
magento setup:static-content:deploy [<list of languages>] [-t|--theme[="<theme>"]] [--exclude-theme[="<theme>"]] [-l|--language[="<language>"]] [--exclude-language[="<language>"]] [-a|--area[="<area>"]] [--exclude-area[="<area>"]] [-j|--jobs[="<number>"]] [--no-javascript] [--no-css] [--no-less] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] [-d|--dry-run]
Problema risolto? Clicca Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
Cancella fisicamente il contenuto delle seguenti cartelle:
- var/cache
- var/generation
- var/page_cache
- var/view_preprocessed
e poi lancia i comandi:
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
Si, le ho già fatte tutte:
magento setup:static-content:deploy -t tema/tema it_IT
Potrebbe essere colpa della gestione cache lato server? memcached o simili?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
potresti incollare il percorso completo del tuoi file html e quello non aggiornato che si trova in pub/static/ ?
Problema risolto? Clicca Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
/public_html/app/code/CartaSi/XPay/view/frontend/web/template/payment/cartasixpay.html
/public_html/pub/static/frontend/tema/tema/it_IT/CartaSi_XPay/template/payment/cartasixpay.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
Un dubbio scusa.. ma che tema stai usando?
Come si chiama?
tema/tema ???
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - cache template (html)
No, il tema si chiama Organica, ma ho sostituito essendoci poi il nome del sito.