Aquesta és una versió anterior. La versió actual és la 0.170.1. Hugo 0.170.1 · Data de publicació:
Fitxers d’instal·lació 0.127.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
This release brings proper HTTP caching and live reloading of remote resources fetched with resources.GetRemote, especially useful when used with content adapters.
Note that this isn't enabled out of the box, so if you need this, you need to add some configuration. The demo below is configured as:
[httpcache]
[httpcache.cache]
[httpcache.cache.for]
includes = ['https://sheets.googleapis.com/**']
[[httpcache.polls]]
high = '30s'
low = '1s'
[httpcache.polls.for]
includes = ['https://sheets.googleapis.com/**']
https://github.com/gohugoio/hugo/assets/394382/85ecc217-3342-4ed2-ae8a-ed357a658b64
What's Changed
- Add a HTTP cache for and polling configuration for remote resources. 447108fed @bep #12502 #11891
- Misc remote HTTP/content adapter enhancements 2b05a50f8 @bep #12502 #12570