Skip to content

v0.1.9

Choose a tag to compare

@liustack liustack released this 20 Nov 14:19
· 137 commits to main since this release
  • Fixed: behind Cloudflare, browsers kept pages with Cache and the files of public/ for 4 hours, because the zone's Browser Cache TTL replaced their max-age=0 and no-cache, and no purge reaches a browser. The cache rule tifa deploy setup writes now keeps the browser TTL of the origin. Upgrading: run go tool tifa deploy setup again. With your own Cloudflare rules, set Browser TTL to "Respect origin TTL".
  • Added: tifa build and tifa dev warn when page source names an image or font of public/ by path. Import it instead, so it gets a hashed name and a one-year cache. public/ is for files that must keep their name, see Static files.
  • Changed: new apps ignore .cloudflare/, where cf remembers the account.

Full list: CHANGELOG