1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Expiration: are these values correct?

Discussion in 'Apache' started by Michele Gramsci, Feb 28, 2017.

  1. #2
    Hi, what do you think about my expiration config in htaccess? I have apache with FPM managed by nginx.
    SEMrush
    <IfModule mod_expires.c>
        ExpiresActive on
        ExpiresDefault "access plus 2 hours"
        ExpiresByType image/gif "access plus 1 month"
        ExpiresByType image/png "access plus 1 month"
        ExpiresByType image/jpg "access plus 1 month"
        ExpiresByType image/jpeg "access plus 1 month"
        ExpiresByType text/html "access plus 1 seconds"
        ExpiresByType text/xml "access plus 1 seconds"
        ExpiresByType text/plain "access plus 1 seconds"
        ExpiresByType application/xml "access plus 1 seconds"
        ExpiresByType application/rss+xml "access plus 1 seconds"
        ExpiresByType application/json "access plus 1 seconds"
        ExpiresByType text/css "access plus 1 week"
        ExpiresByType text/javascript "access plus 1 week"
        ExpiresByType application/javascript "access plus 1 week"
        ExpiresByType application/x-javascript "access plus 1 week"
        ExpiresByType image/x-ico "access plus 1 year"
        ExpiresByType image/x-icon "access plus 1 year"
        ExpiresByType application/pdf "access plus 1 month"
    </IfModule>
    Code (markup):
     
    Michele Gramsci, Feb 28, 2017 IP
    SEMrush