IBM WEBSPHERE 6.1.X Instrukcja Użytkownika Strona 38

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 97
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 37
33
WE BSPHERE PORTAL V6.1 TUNING GUIDE
# expire images after a month in the client's cache. Note that one month expiration
worked fine for a performance evaluation in a test lab. It should be set appropriately
for your environment where images might be updated more frequently than once a
month.
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/xml "access plus 1 week"
ExpiresByType application/vnd.mozilla.xul+xml "access plus 1 week"
ExpiresByType application/x-www-form-urlencoded "access plus 1 week"
ExpiresByType text/html "access plus 1 week"
ExpiresByType text/xml "access plus 1 week"
Portlet Caching
portlet.xml is part of a portlet’s war file. It is located in the portlet’s WEB-INF directory. To
make portlet fragments publicly cacheable set:
a. <expiration-cache>28800</expiration-cache>
b. <cache-scope>public</cache-scope>
Przeglądanie stron 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 96 97

Komentarze do niniejszej Instrukcji

ChrisCaddy 27 Apr 2024 | 05:14:13

Hello, im noob :)