Hello @n2016
I hope you’re well today and thank you for your question!
Would you please contact your host to confirm with them that the modules mentioned int he message are actually working properly and that they can be configured via .htaccess?
The way browser caching works is based on certain HTTP headers that are sent by server. What Hummingbird attempts to do is to control setting of related webserver module to allow you switch on/off that type of caching and to control expiry but it does not directly “do” browser caching.
If your host confirms that this these requirements mentioned in the message are met, let us know, please and we’ll investigate it further.
Best regards,
Adam
Thread Starter
n2016
(@n2016)
We don’t have Nginx on the server. Do we need to install it to use browser cache or is there an alternate method?
Hello @n2016,
Your server would be either running on Apache or Nginx server. Kindly consult your host on what is your server currently running on and then ask them to check if the respective modules are enabled and working. Once the required modules are enabled, browser caching module should work properly.
If you are not on the Nginx server, you could be on an apache server. Can you check if you have any other caching plugins active at the moment? If you are using any other caching plugins, kindly deactivate them and try again.
Can you check with the host about the type of server and let us know what type of server are you on? I am looking forward to hearing from you.
Regards,
Prathamesh Palve
Thread Starter
n2016
(@n2016)
We use an Apache server with no other caching plugins being used.
-
This reply was modified 6 years ago by
n2016.
Hello @n2016 ,
If you are on the Apache server you need to have mod_expires installed on it. It is a module that makes browser caching working.
You need to contact your hosting provider and ask if mod_expires is installed and enabled on your server.
kind regards,
Kasia
Thread Starter
n2016
(@n2016)
We don’t have that installed as we don’t have apache on the server. It is all done via IIS.
Is there a way to do this using IIS not apache?
Hello @n2016
I’m not much familiar with IIS, unfortunately, but I can tell that IIS – if browser caching isn’t working “out of the box” – requires some additional manual configuration.
If you select IIS in the plugin on “Hummingbird -> Caching -> Browser Caching” page in “Server type” drop-down box (where it shows by default “Apache”) it will give you a link to the guide to follow, this one:
https://technet.microsoft.com/en-us/library/cc732475(v=ws.10).aspx
The configuration process is described there and should work witn IIS 7 and above.
Kind regards,
Adam
Thread Starter
n2016
(@n2016)
We are working on this now.
As we are manually having to do it on the server, we can’t select ‘all file types’, do you have a manual list we could use of what types should be included?
Thanks
Hello @n2016
You can select Apache or Nginx in the server type in the Hummingbird Browser Caching page and then click on the “manual” method.
In these code snippets, you can find which file extensions are used for each file type.
https://monosnap.com/file/FU5hw7Vi6JxjsmtVl5xxzZHrpMt2N9
Warm regards,
Dimitris
Hello @n2016
I hope you are doing well!
We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.
Kind regards,
Nastia