• Resolved kovald

    (@kovald)


    -Your server may not have the “expires” module enabled (mod_expires for Apache, ngx_http_headers_module for NGINX)
    – Another plugin may be interfering with the configuration

    My server is apache and it has these features. I cant figure out whats the problem. Inform me about other informations you may need.

    history:
    I used other caching programms which they didnt increase my site speed so i deleted and here we are with this error

    • This topic was modified 7 years, 5 months ago by kovald.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @kovald,

    hope you’re doing good today! 🙂

    Can you please double check that HummingBird applied its rules in the .htaccess file?

    If these are added indeed, please try to re-check status.

    If not, switch to Manual, gran the generated snippet and add it manually (via FTP).https://monosnap.com/file/ToGYboyDx1XnuOboZlEQ8jtnXtrjFp#

    Then re-check status once more. https://monosnap.com/file/alTcyhwsFhQ7fmdbG4Wu82alNW98dS#

    If nothing works, please do share here in your next reply what’s the exact content of .htaccess, considering Browser Caching from HummingBird.

    Thank you,
    Dimitris

    Thread Starter kovald

    (@kovald)

    Hello dimitris

    In fist place when humminbird added the code to htacces with automated method, the column Current expiry content was “disabled” but after i deleted the old code and added manually now it says “false”.

    Thread Starter kovald

    (@kovald)

    The exact content
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # BEGIN WP-HUMMINGBIRD-CACHING
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A0

    <FilesMatch “\.(txt|xml|js)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(css)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$”>
    ExpiresDefault A691200
    </FilesMatch>

    <FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
    ExpiresDefault A691200
    </FilesMatch>
    </IfModule>

    <IfModule mod_headers.c>
    <FilesMatch “\.(txt|xml|js)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(css)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>

    <FilesMatch “\.(jpg|jpeg|png|gif|swf|webp)$”>
    Header set Cache-Control “max-age=691200”
    </FilesMatch>
    </IfModule>
    # END WP-HUMMINGBIRD-CACHING

    #start humin gzip
    <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
    </IfModule>
    </IfModule>
    <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE “application/atom+xml” \
    “application/javascript” \
    “application/json” \
    “application/ld+json” \
    “application/manifest+json” \
    “application/rdf+xml” \
    “application/rss+xml” \
    “application/schema+json” \
    “application/vnd.geo+json” \
    “application/vnd.ms-fontobject” \
    “application/x-font-ttf” \
    “application/x-font-opentype” \
    “application/x-font-truetype” \
    “application/x-javascript” \
    “application/x-web-app-manifest+json” \
    “application/xhtml+xml” \
    “application/xml” \
    “font/eot” \
    “font/opentype” \
    “font/otf” \
    “image/bmp” \
    “image/svg+xml” \
    “image/vnd.microsoft.icon” \
    “image/x-icon” \
    “text/cache-manifest” \
    “text/css” \
    “text/html” \
    “text/javascript” \
    “text/plain” \
    “text/vcard” \
    “text/vnd.rim.location.xloc” \
    “text/vtt” \
    “text/x-component” \
    “text/x-cross-domain-policy” \
    “text/xml”

    </IfModule>
    <IfModule mod_mime.c>
    AddEncoding gzip svgz
    </IfModule>
    </IfModule>
    #hummin gzip

    @kovald,

    You are using Plesk which uses Apache+Nginx configuration. In order to enable browser caching for all assets, you need to paste the Nginx configuration in the Apache & nginx Settings section of Plesk.

    Best regards,
    Anton

    Thread Starter kovald

    (@kovald)

    thank you problem is fixed. the error occured because of the nginx plesk option which was disabled

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Browser Caching is not working properly’ is closed to new replies.