Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Need to add some custom php (setting cache headers) what is the best way?

FiftyFifty New
edited August 2015 in Vanilla 2.0 - 2.8

I need to set custom php headers to control caching, the quick & dirty way is to edit the main index.php. But that's probably not the proper way to do it ;)

What is the easiest way, to add a little code snippet, without touching the core files? Do I need to create an Addon, or are there easier ways? I've used search, but couldn't find it (although I can hardly imagine that this hasn't been asked before, so perhaps I use the wrong keywords ...)

Tagged:

Comments

Sign In or Register to comment.