"leverage browser caching fonts" Code Answer's

You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "leverage browser caching fonts" answered properly. Developers are finding an appropriate answer about leverage browser caching fonts related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like leverage browser caching fonts. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on leverage browser caching fonts. 

leverage browser caching fonts

By Wild WallabyWild Wallaby on Jan 12, 2021
# ----------------------------------------------------------------------
# | Expires headers                                                    |
# ----------------------------------------------------------------------

# Serve resources with far-future expires headers.
#
# (!) If you don't control versioning with filename-based
# cache busting, you should consider lowering the cache times
# to something like one week.
#
# https://httpd.apache.org/docs/current/mod/mod_expires.html

<IfModule mod_expires.c>

    ExpiresActive on
    ExpiresDefault                                      "access plus 1 month"

  # CSS

    ExpiresByType text/css                              "access plus 1 year"


  # Data interchange

    ExpiresByType application/atom+xml                  "access plus 1 hour"
    ExpiresByType application/rdf+xml                   "access plus 1 hour"
    ExpiresByType application/rss+xml                   "access plus 1 hour"

    ExpiresByType application/json                      "access plus 0 seconds"
    ExpiresByType application/ld+json                   "access plus 0 seconds"
    ExpiresByType application/schema+json               "access plus 0 seconds"
    ExpiresByType application/vnd.geo+json              "access plus 0 seconds"
    ExpiresByType application/xml                       "access plus 0 seconds"
    ExpiresByType text/calendar                         "access plus 0 seconds"
    ExpiresByType text/xml                              "access plus 0 seconds"


  # Favicon (cannot be renamed!) and cursor images

    ExpiresByType image/vnd.microsoft.icon              "access plus 1 week"
    ExpiresByType image/x-icon                          "access plus 1 week"

  # HTML

    ExpiresByType text/html                             "access plus 0 seconds"


  # JavaScript

    ExpiresByType application/javascript                "access plus 1 year"
    ExpiresByType application/x-javascript              "access plus 1 year"
    ExpiresByType text/javascript                       "access plus 1 year"


  # Manifest files

    ExpiresByType application/manifest+json             "access plus 1 week"
    ExpiresByType application/x-web-app-manifest+json   "access plus 0 seconds"
    ExpiresByType text/cache-manifest                   "access plus 0 seconds"


  # Markdown

    ExpiresByType text/markdown                         "access plus 0 seconds"


  # Media files

    ExpiresByType audio/ogg                             "access plus 1 month"
    ExpiresByType image/bmp                             "access plus 1 month"
    ExpiresByType image/gif                             "access plus 1 month"
    ExpiresByType image/jpeg                            "access plus 1 month"
    ExpiresByType image/png                             "access plus 1 month"
    ExpiresByType image/svg+xml                         "access plus 1 month"
    ExpiresByType image/webp                            "access plus 1 month"
    ExpiresByType video/mp4                             "access plus 1 month"
    ExpiresByType video/ogg                             "access plus 1 month"
    ExpiresByType video/webm                            "access plus 1 month"


  # Web fonts

    # Collection
    ExpiresByType font/collection                       "access plus 1 month"

    # Embedded OpenType (EOT)
    ExpiresByType application/vnd.ms-fontobject         "access plus 1 month"
    ExpiresByType font/eot                              "access plus 1 month"

    # OpenType
    ExpiresByType font/opentype                         "access plus 1 month"
    ExpiresByType font/otf                              "access plus 1 month"

    # TrueType
    ExpiresByType application/x-font-ttf                "access plus 1 month"
    ExpiresByType font/ttf                              "access plus 1 month"

    # Web Open Font Format (WOFF) 1.0
    ExpiresByType application/font-woff                 "access plus 1 month"
    ExpiresByType application/x-font-woff               "access plus 1 month"
    ExpiresByType font/woff                             "access plus 1 month"

    # Web Open Font Format (WOFF) 2.0
    ExpiresByType application/font-woff2                "access plus 1 month"
    ExpiresByType font/woff2                            "access plus 1 month"


  # Other

    ExpiresByType text/x-cross-domain-policy            "access plus 1 week"

</IfModule>

Source: www.proteusthemes.com

Add Comment

0

All those coders who are working on the Whatever based application and are stuck on leverage browser caching fonts can get a collection of related answers to their query. Programmers need to enter their query on leverage browser caching fonts related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about leverage browser caching fonts for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of leverage browser caching fonts while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "leverage browser caching fonts". Visit this developer's friendly online web community, CodeProZone, and get your queries like leverage browser caching fonts resolved professionally and stay updated to the latest Whatever updates. 

Whatever answers related to "leverage browser caching fonts"

View All Whatever queries

Whatever queries related to "leverage browser caching fonts"

leverage browser caching fonts nginx browser caching in docker containers flutter fonts how to apply two static file fonts nerd fonts debian Fix Vertical Position Issue of Custom iOS Fonts change fonts in nuxt vuetify fonts google con multi browser testing in testng cross browser testing in testng file protocol browser mid browser how to use browser sync in vuetify how to run cross browser testing in junit how to run multi browser testing in junit web browser & web explorer apk download mpdf output to browser DS browser view document in browser flutter web How to detect Safari, Chrome, IE, Firefox and Opera browser? Make a batch file that opens site in browser and enter login information what are the ways of refreshing browser how to clear browser history Browser: driver mechanize has been destroyed check if browser supports Local Storage auto translate in brave browser how to run cross browser testing in testng how to run multi browser testing in testng browser uniqe device id which is the ranked list of browser framework7 photo browser popup design tor browser change ip address every 10 seconds chrome browser extension popup max height google sheets dark mode browser check browser support for css value multi browser parallel testing in junit website download index file instead of opening in browser cross browser parallel testing in junit how to open chrome browser in selenium browser fingerprint cross browser testing Browser Cookies QT what is text browser how to detect browser window size in razor page tor browser MaxCircuitDirtiness

Browse Other Code Languages

CodeProZone