Bug 1542789 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Thanks for the report Valentin!

From the post:

This can be used to configure Apache server

```
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "public, max-age=31536000, immutable"
</filesMatch>
```

And Nginx:

```
location ~* \.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$ {
    add_header Cache-Control "public, max-age=31536000, immutable";
}
```

Honza
Thanks for the report Valentin!

From the post:

This can be used to configure Apache server (and create a test case):

```
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "public, max-age=31536000, immutable"
</filesMatch>
```

And Nginx:

```
location ~* \.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$ {
    add_header Cache-Control "public, max-age=31536000, immutable";
}
```

Honza

Back to Bug 1542789 Comment 1