• Resolved utkarshtomar177

    (@utkarshtomar177)


    Browser Caching is not working properly:
    – 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

    this is the error that i’m seeing
    I’ve added the code manually in .htaccess and htaccess.conf both and cache is also enabled in wp-config.php
    I’m using Amazon EC2 (apache)

    Please help me.
    Thank you

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @utkarshtomar177

    I hope you are doing well!

    The Browser Caching has 4 files types in it, is the Browser caching not enabled for all of the available file types?

    Please make sure to restart your Apache server after lines are added to the .htaccess file. After this go to Hummingbird > Caching > Browser Caching and re-check the status.

    Also, make sure that the “expires” module is enabled in your instance. Please see how to install and enable it here:
    https://stackoverflow.com/questions/38696386/leverage-browser-caching-on-amazon-ec2
    And here:
    https://webmasters.stackexchange.com/questions/101758/amazon-ec2-bitnami-wordpress-leverage-browser-caching

    Kind regards,
    Nastia

    Thread Starter utkarshtomar177

    (@utkarshtomar177)

    Hi Nastia

    I’ve done that , enabled expires module and under FollowSymLinks “AllowOverride All”
    but it’s still not working.

    find . -name httpd.conf
    find: ‘./letsencrypt/certificates’: Permission denied
    ./apache2/conf/httpd.conf
    ./apache2/conf/original/httpd.conf
    ./apache2/conf/bitnami/httpd.conf
    ./bnsupport/original-data/apache2/conf/httpd.conf
    find: ‘./var/data’: Permission denied
    find: ‘./mysql/data’: Permission denied

    I tried adding
    ‘Test.’ in the beginning of all htaccess but site is still live.(./apps/wordpress/htdocs/.htaccess this should be the one imo)

    ./apps/wordpress/htdocs/.htaccess
    ./apps/wordpress/htdocs/wp-content/ai1wm-backups/.htaccess
    ./apps/wordpress/htdocs/wp-content/cache/page_enhanced/.htaccess
    ./apps/wordpress/htdocs/wp-content/.htaccess
    ./apps/wordpress/htdocs/wp-content/plugins/shortpixel-image-optimiser/res/img/.htaccess
    ./apps/wordpress/htdocs/wp-content/plugins/akismet/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/wc-logs/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/ShortpixelBackups/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/ShortpixelBackups/wp-content/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/ShortpixelBackups/wp-content/uploads/2020/02/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/ShortpixelBackups/wp-content/uploads/2020/03/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/wpseo-redirects/.htaccess
    ./apps/wordpress/htdocs/wp-content/uploads/woocommerce_uploads/.htaccess

    Thanks

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @utkarshtomar177

    I trust you are doing well!

    I’ve checked your site and see that teh Browser Caching is enabled already. Please let us know if the issue will be back.

    Kind regards,
    Nastia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Browser Caching is not working properly even though i edited htaccess’ is closed to new replies.