mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Remove most HTML/CSS/JS assets from the backend service WAR
It only needs the error page HTML files; everything else isn't used by endpoints served by the backend service and only serves to increase build times (especially compiling all that JS). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202229514
This commit is contained in:
parent
892c1fc707
commit
fb9d876bff
7 changed files with 17 additions and 22 deletions
|
@ -26,14 +26,5 @@
|
|||
<include path="/*.html">
|
||||
<http-header name="Cache-Control" value="max-age=0,must-revalidate" />
|
||||
</include>
|
||||
<include path="/assets/js/**">
|
||||
<http-header name="Cache-Control" value="max-age=0,must-revalidate" />
|
||||
</include>
|
||||
<include path="/assets/css/**">
|
||||
<http-header name="Cache-Control" value="max-age=0,must-revalidate" />
|
||||
</include>
|
||||
<include path="/assets/images/**">
|
||||
<http-header name="Cache-Control" value="max-age=0,must-revalidate" />
|
||||
</include>
|
||||
</static-files>
|
||||
</appengine-web-app>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue