I'm trying to increase the pagespeed of our website ubercore.co. I'm using PageSpeed Insights for Chrome extension to analyze the pagespeed. It has suggested me to "Leverage browser cache". This is where I'm stuck.
I've tried some modifications to .htaccess file like this:
and get nothing.
Later did some research and found that .htaccess is only for Apache server. Correct me if I'm wrong.
But, when I see the header response of our webpage found that the server is nginx. Then why my host has the .htaccess file in web root? I'm confused.
What I need in short: How to cache static contents for this site?
Useful links: Nginx wiki
Here is a screenshot of what I have, server is nginx:
My question is simple, I need to cache all static content given the environment.
Update 2: As suggested by dan found that the server is indeed Apache not nginx. I don't really understand it but let it be it's off topic.
Now my problem:
Server software : Apache/2.4.7 (Unix)
Need : .htaccess code to set browser cache expiry time.