On 30 Mar 22:04, Stephen Finucane wrote:
> From: Damien Lespiau <[email protected]>
> 
> If we always serve the "style.css" file, even when its content changes,
> we run into the situation where the browser (or any HTTP aware middle
> man) will cache the file and not download a newer version.
> 
> This can be solved by appending the file hash to its filename. If the
> content changes, the file name changes and the new version is used right
> away. We can also use far future Expires headers with such static files,
> they will really never change.
> 
> Signed-off-by: Damien Lespiau <[email protected]>
> Signed-off-by: Stephen Finucane <[email protected]>
> ---
> v2: Disable for Django < 1.7

Merged.
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to