/ Question & Réponse / How to Add Cache-Control-Header / Expire-Header in NGINX How to Add Cache-Control-Header / Expire-Header in NGINX NGINX #####Media: images, icons, video, audio send expires headers 1d location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|pdf|docx|webp)$ { expires 365d; add_header Cache-Control "public, no-transform"; } #####HTML send expires headers. location ~* \.(html)$ { expires 30d; add_header Cache-Control "public, no-transform"; } #####HTML send expires headers. location ~* \.(css|js|json)$ { expires 1d; add_header Cache-Control "public, no-transform"; } #####Web fonts send expires headers location ~* \.(?:eot|otf|ttf|woff|woff2)$ { expires 1M; add_header Cache-Control "public, no-transform"; } Question & Réponse How to style the input type time CSS Intégration web How to Copy Text with javascript Javascript Développement front-end How Minify CSS with PHP PHP Développement back-end Convert special characters to HTML in Javascript Javascript Développement front-end How to create a offset in Bootstrap 4 Bootstrap 4 Intégration web Listing all images in a directory using PHP PHP Développement back-end How to Force encoding in JavaScript Javascript Développement front-end How to replace single quotes in Javascript Javascript Développement front-end How to replace single quotes in Java Java Développement back-end How to change language for DataTable DataTable, Jquery Développement front-end How do I change the ID of a HTML element with JavaScript ? Javascript Développement front-end Javascript copy div change innerHTML id Javascript Développement front-end