.htaccess

# CACHE POLICY
<IfModule mod_expires.c>

ExpiresActive on
ExpiresDefault                                    "now plus 1 year"

# DATA
ExpiresByType text/xml                            "now plus 0 seconds"
ExpiresByType text/html                           "now plus 0 seconds"
ExpiresByType text/plain                          "now plus 0 seconds"
ExpiresByType application/xml                     "now plus 0 seconds"
ExpiresByType application/json                    "now plus 0 seconds"
ExpiresByType application/rss+xml                 "now plus 0 seconds"
ExpiresByType application/atom+xml                "now plus 0 seconds"
ExpiresByType text/x-component                    "now plus 0 seconds"

# MANIFEST
ExpiresByType application/x-web-app-manifest+json "now plus 0 seconds"
ExpiresByType application/manifest+json           "now plus 0 seconds"
ExpiresByType text/cache-manifest                 "now plus 0 seconds"

# SCRIPTS
ExpiresByType text/css                            "now plus 1 year"
ExpiresByType text/javascript                     "now plus 1 year"
ExpiresByType application/javascript              "now plus 1 year"
ExpiresByType application/x-javascript            "now plus 1 year"

# IMAGES
ExpiresByType image/gif                           "now plus 1 year"
ExpiresByType image/png                           "now plus 1 year"
ExpiresByType image/jpe                           "now plus 1 year"
ExpiresByType image/jpg                           "now plus 1 year"
ExpiresByType image/jpeg                          "now plus 1 year"
ExpiresByType image/jp2                           "now plus 1 year"
ExpiresByType image/pipeg                         "now plus 1 year"
ExpiresByType image/bmp                           "now plus 1 year"
ExpiresByType image/tiff                          "now plus 1 year"
ExpiresByType image/svg+xml                       "now plus 1 year"
ExpiresByType image/vnd.microsoft.icon            "now plus 1 year"

# ICONS
ExpiresByType image/ico                           "now plus 1 year"
ExpiresByType image/icon                          "now plus 1 year"
ExpiresByType text/ico                            "now plus 1 year"
ExpiresByType image/x-ico                         "now plus 1 year"
ExpiresByType image/x-icon                        "now plus 1 year"
ExpiresByType application/ico                     "now plus 1 year"

# AUDIO
ExpiresByType audio/ogg                           "now plus 1 year"
ExpiresByType audio/basic                         "now plus 1 year"
ExpiresByType audio/mid                           "now plus 1 year"
ExpiresByType audio/midi                          "now plus 1 year"
ExpiresByType audio/mpeg                          "now plus 1 year"
ExpiresByType audio/wav                           "now plus 1 year"
ExpiresByType audio/x-aiff                        "now plus 1 year"
ExpiresByType audio/x-mpegurl                     "now plus 1 year"
ExpiresByType audio/x-pn-realaudio                "now plus 1 year"
ExpiresByType audio/x-wav                         "now plus 1 year"

# VIDEO
ExpiresByType video/ogg                           "now plus 1 year"
ExpiresByType video/mp4                           "now plus 1 year"
ExpiresByType video/webm                          "now plus 1 year"
ExpiresByType video/x-msvideo                     "now plus 1 year"
ExpiresByType video/mpeg                          "now plus 1 year"
ExpiresByType video/quicktime                     "now plus 1 year"
ExpiresByType video/x-la-asf                      "now plus 1 year"
ExpiresByType video/x-ms-asf                      "now plus 1 year"
ExpiresByType x-world/x-vrml                      "now plus 1 year"

# FONTS
ExpiresByType font/truetype                       "now plus 1 year"
ExpiresByType font/opentype                       "now plus 1 year"
ExpiresByType application/x-font-ttf              "now plus 1 year"
ExpiresByType application/x-font-woff             "now plus 1 year"
ExpiresByType application/font-woff               "now plus 1 year"
ExpiresByType application/vnd.ms-fontobject       "now plus 1 year"

# OTHERS
ExpiresByType application/pdf                     "now plus 1 year"

<IfModule mod_headers.c>
        Header append Cache-Control "public"
</IfModule>

</IfModule>