I have an angularjs javascript application packaged in webapp deployed in Wildfly 8.2.1. Sometimes, when I deploy javascript or css modifications for this webapp, users have to manually delete the browser cache to make changes. Is there a way to change this behavior so that users don’t need to delete their browser cache every time?
I shared this Gist article with you.
It describes how to configure response headers in the wildfly subtype to configure expiration cache headers in the HTTP server response for specific static content such as .js, .css, ... files.
Source: https://habr.com/ru/post/1618879/More articles:Can we insert an image that reads as url in sqlite using javascript? - javascriptdelphi xe10 android service gps - androidHigh Level Instructions for Transferring an Application from Heroku to AWS? - ruby-on-railsConfigure Windows Authentication for Apache - phpSort an ND numpy array by column with a smaller ND array - pythonПоказать пользовательскую Instagram Фотографии на сайте - javascriptjQuery selects a specific string and a number from 0 to 9 after it? - javascriptHow to add and zoom to iframe code - javascriptHow to choose between sys and proc files in linux kernel - cKarma tests function call inside scope.function - javascriptAll Articles