I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
My goal I would like to let browsers cache my whole website, but only download the new information when I have changed one or more files. My situation After some research I have found a way to do ...
Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 ...
I am trying to set two different http headers for cache control for two different portions of our site. These are the lines in my site.conf for the virtual host: <Location ~ ...
just trying to do a bit of performance tuning on a client's site. I don't want to set far future expiries yet, because we are still changing a lot of stuff regularly, but I'd like to give everything ...