Asqatasun / Contrast-Finder

Contrast-Finder finds correct color contrasts (background / foreground) for web accessibility (a11y, WCAG, RGAA). https://app.contrast-finder.org
GNU Affero General Public License v3.0
56 stars 18 forks source link

Allow the HTTP header "Cache-Control: immutable" for asset files (css, js, png,...) #133

Closed dzc34 closed 6 years ago

dzc34 commented 6 years ago

Observed behaviour

Browser cache is not used enough for asset files (css, js, png,...)

Expected behaviour

Allow these following HTTP headers for asset files (css, js, png,...)

by using:

/public/<version>/js/*
/public/<version>/css/*
/public/<version>/images/*

instead of:

/public/js/*
/public/css/*
/public/images/*

HTTP header "Cache-Control: immutable" documentation