31,029
edits
| Line 50: | Line 50: | ||
- Rem: To increase performance, you can also set your apache to activate cache of resources by adding the directives: | - Rem: To increase performance, you can also set your apache to activate cache of resources by adding the directives: | ||
<source lang="ini"> | <source lang="ini"> | ||
# Cache for static resources (Enable expiration and set it to | # Cache for static resources (Enable expiration and set it to A2592000 = 1 month) | ||
ExpiresActive On | ExpiresActive On | ||
ExpiresByType image/x-icon A2592000 | ExpiresByType image/x-icon A2592000 | ||
| Line 56: | Line 56: | ||
ExpiresByType image/png A2592000 | ExpiresByType image/png A2592000 | ||
ExpiresByType image/jpeg A2592000 | ExpiresByType image/jpeg A2592000 | ||
ExpiresByType text/css A2592000 | |||
ExpiresByType text/javascript A2592000 | ExpiresByType text/javascript A2592000 | ||
ExpiresByType application/x-javascript A2592000 | |||
ExpiresByType application/javascript A2592000 | ExpiresByType application/javascript A2592000 | ||
</source> | </source> | ||