How to add expires headers in WordPress.com page
-
I have a page on WordPress.com where I want to add expires headers.
I see that in WordPress.com there is no htaccess and that the server is nginx, what is the way to add this type of headers?
For example:location ~* \.(jpg|jpeg|gif|png|svg)$ { expires 365d; } location ~* \.(pdf|css|html|js|swf)$ { expires 2d; }
Edit: I tried with the plugin Hummingbird but it says the cache types don’t meet the recommended period type and it won’t get activated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add expires headers in WordPress.com page’ is closed to new replies.