/ 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 do I check two or more conditions in one ‹c:if› ? Java, JSP Développement Back-end How to check if a number is a float or integer value Javascript Développement front-end Restrict input field to two decimals with jQuery JQuery Développement front-end How to check a boolean condition in EL ? Java, JSP, EL Développement Back-end How to convert int to float with Javascript Javascript Développement front-end How to use selected input select with jsp Java, JSP Développement Back-end How to select all checkboxes in table with javascript Javascript Développement front-end How to generate random numbers in Java Java Développement Back-end How to fixed format number decimale after with JS Javascript Développement front-end Angular error: Can't bind to 'ngModel' since it isn't a known property of 'input' Angular Développement front-end Switch statement multiple cases in JavaScript Javascript Développement front-end How to Get the Path of the Current Working Directory in Node.js ? NodeJS Développement back-end