Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Override max-age directive from WP SuperCache #102
In a recent change, Autoptimizer has stopped overriding WP SuperCache's max-age directive. My guess is that was unintended, but of course I'm not sure what lead to this change.
In this commit the
Since we're later setting
I'm not sure if there's more to the initial changes than I'm able to see at the moment, so feel free to shut this down if that's the case.
first off; I can't reproduce this, but this might depend on the mode WPSC is run in (I'm on legacy PHP).
the problem with your solution is that as the mod_expires block already sets cache-control,
couldn't we do
or will we have to go down the
I'm going to close this PR @jessedyck
have a nice day!