Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Cache busting assets #149

Open
emileber opened this issue Nov 16, 2017 · 2 comments
Open

Cache busting assets #149

emileber opened this issue Nov 16, 2017 · 2 comments
Labels
Milestone

Comments

@emileber
Copy link
Member

Il faudrait ajouter des techniques de cache busting sur les liens vers des assets statiques. Genre la date de modif, ou un hash du contenu.

@emileber emileber added the bug label Nov 16, 2017
@emileber emileber added this to the v2.1 OBNL milestone Nov 16, 2017
@GabLeRoux
Copy link
Member

https://toddmotto.com/cache-busting-jekyll-github-pages

Est-ce qu'on y va avec une solution comme ça?

<link href="{{ "/css/main.css" | prepend: site.baseurl }}?{{site.time | date: '%s%N'}}" rel="stylesheet">

👍

@emileber
Copy link
Member Author

Oui ça serait parfait!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants