Skip to content

Commit

Permalink
fix: Delete useless ResourceRequestFilter mappings - MEED-7004 - Meed…
Browse files Browse the repository at this point in the history
…s-io/meeds#2109 (#523)

Prior to this change, any URL was cached while the Cache HTTP Header
should be applied systematically on static resources only. This change
changes the Filter mapping list in order to include static resources
only.
  • Loading branch information
boubaker authored Jun 6, 2024
1 parent 8913917 commit 1a49cc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wallet-webapps/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<filter-mapping>
<filter-name>ResourceRequestFilter</filter-name>
<url-pattern>/*</url-pattern>
<url-pattern>*.css</url-pattern>
<url-pattern>*.js</url-pattern>
<url-pattern>*.html</url-pattern>
<url-pattern>/images/*</url-pattern>
</filter-mapping>

</web-app>

0 comments on commit 1a49cc5

Please sign in to comment.