Hummingbird Issue – Enabling Cashing

Hello. I have installed Hummingbird and Enabled Cashing, but for some add reason the days that you suggested “8 days” isn’t sticking. It still shows the original cashing days.

  • Kasia Swiderska
    • Support nomad

    Hello The Product Poet,

    I've tested this on my site and changing those values works fine. Could you try to change that manually using code to add it to htaccess file:

    [attachments are only viewable by logged-in members]

    It shows that htaccess was updated, but it doesn't look like that. Let me know if there will be any change after enabling it manually.

    kind regards,

    Kasia

  • The Product Poet
    • Flash Drive

    Hi there. I am looking at my htaccess file, but right now I have temporarily locked myself out of my website. Here is what I see in the htaccess:

    # 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)$”>

    ExpiresDefault A691200

    </FilesMatch>

    <FilesMatch “.(jpg|jpeg|png|gif|swf|webp)$”>

    ExpiresDefault A691200

    </FilesMatch>

    </IfModule>

    <IfModule !mod_expires.c>

    <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)$”>

    Header set Cache-Control “max-age=691200”

    </FilesMatch>

    <FilesMatch “.(jpg|jpeg|png|gif|swf|webp)$”>

    Header set Cache-Control “max-age=691200”

    </FilesMatch>

    </IfModule>

    </IfModule>

    # END WP-HUMMINGBIRD-CACHING

    Does this look right to you?

  • Kasia Swiderska
    • Support nomad

    Hello The Product Poet,

    Part of the Hummingbird code looks good, but if this is your whole htaccess you are missing WordPress rules :slight_frown:

    Here are rules for WordPress https://codex.wordpress.org/htaccess (first: Basic WP) it should be also in your htaccess at the begining of the file.

    I’m sorry I should mention that code from Hummingbird should be added to what you already have in htaccess not to replace it.

    kind regards,

    Kasia

  • Rupok
    • Ex Staff

    Hi The Product Poet, hope you had a wonderful day.

    I tried to investigate the issue further but I could not see Support Access granted. I could tell you better about the issue if I could see it live, check your current configuration and make some tests on your site. Can you please send me message with FTP and WP access credentials through our secure contact form here: https://wpmudev.com/contact/ so I along with our developers try to fix the issue on your site?

    Subject: “Attn: Rupok”

    – WordPress admin Username

    – WordPress admin Password

    – Login URL

    – FTP Username

    – FTP Password

    – FTP Host

    – Link back to this thread for reference

    – Any other relevant URLs

    Select “I have a different question” for your topic. This and the subject line ensure that it gets assigned to me.

    [attachments are only viewable by logged-in members]

    Have a nice day. Cheers!

    Rupok

  • Rupok
    • Ex Staff

    Hi TPP, hope you had a wonderful day.

    I do apologize for the delay from our end. I've set the expiry and now it seems to be sticking. Can you please check and confirm? Please check the attached screenshot for reference.

    [attachments are only viewable by logged-in members]

    Have a nice day. Cheers!

    Rupok

  • Rupok
    • Ex Staff

    Hi TPP, hope you had a wonderful day.

    Hmm… right! Well, I can regenerate this on my test site also, but I’ve asked one of my colleagues and he could not regenerate this on his site. So we need more testing data.

    Can you please install Hummingbird on a new fresh WordPress installation and let us know if the issue is there or not?

    I’ve talked with our developer and needs your FTP info for troubleshooting the issue. Can you send me message with FTP access credentials through our secure contact form here: https://wpmudev.com/contact/ ?

    Subject: “Attn: Rupok”

    – FTP Username

    – FTP Password

    – FTP Host

    – Link back to this thread for reference

    – Any other relevant URLs

    Select “I have a different question” for your topic. This and the subject line ensure that it gets assigned to me.

    [attachments are only viewable by logged-in members]

    Have a nice day. Cheers!

    Rupok