Rev 106 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 106 | Rev 726 | ||
|---|---|---|---|
| Line 113... | Line 113... | ||
| 113 | <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class> |
113 | <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class> |
| 114 | </filter>
|
114 | </filter>
|
| 115 | <filter-mapping>
|
115 | <filter-mapping>
|
| 116 | <filter-name>PrimeFaces FileUpload Filter</filter-name> |
116 | <filter-name>PrimeFaces FileUpload Filter</filter-name> |
| 117 | <servlet-name>Faces Servlet</servlet-name> |
117 | <servlet-name>Faces Servlet</servlet-name> |
| - | 118 | </filter-mapping>
|
|
| - | 119 | <!-- =======================================
|
|
| - | 120 | CACHE DE IMAGENS - DURAÇÃO: 1 DIA
|
|
| - | 121 | Caminho: /arquivos_padrao/
|
|
| - | 122 | ======================================= -->
|
|
| - | 123 | <filter>
|
|
| - | 124 | <filter-name>CacheImagensArquivosPadrao</filter-name> |
|
| - | 125 | <filter-class>org.apache.catalina.filters.ExpiresFilter</filter-class> |
|
| - | 126 | ||
| - | 127 | <!-- Define o tempo de cache de 1 dia -->
|
|
| - | 128 | <init-param>
|
|
| - | 129 | <param-name>ExpiresByType image/*</param-name> |
|
| - | 130 | <param-value>access plus 1 day</param-value> |
|
| - | 131 | </init-param>
|
|
| - | 132 | ||
| - | 133 | <!-- Cabeçalho Cache-Control padrão -->
|
|
| - | 134 | <init-param>
|
|
| - | 135 | <param-name>Cache-Control</param-name> |
|
| - | 136 | <param-value>max-age=86400, public</param-value> |
|
| - | 137 | </init-param>
|
|
| - | 138 | </filter>
|
|
| - | 139 | <filter-mapping>
|
|
| - | 140 | <filter-name>CacheImagensArquivosPadrao</filter-name> |
|
| - | 141 | <url-pattern>/imagens_temp/*</url-pattern> |
|
| 118 | </filter-mapping>
|
142 | </filter-mapping>
|
| 119 | <welcome-file-list>
|
143 | <welcome-file-list>
|
| 120 | <welcome-file>index.jsp</welcome-file> |
144 | <welcome-file>index.jsp</welcome-file> |
| 121 | </welcome-file-list>
|
145 | </welcome-file-list>
|
| 122 | <servlet>
|
146 | <servlet>
|