Bug: Content-type header of custom PHP not cached
-
Hello,
I am setting a custom content-type header on a PHP file using:
header(‘Content-Type: text/xml; charset=UTF-8’)
And when the file is server directly the header is sent without any problem… But whenever it is served from the disk cache (enhanced) the Content-Type is text/html.It’s there anyway to preserve the Content-Type header of the cached file? (Without excluding the file from the cache)
Regards,
Rypted.
- The topic ‘Bug: Content-type header of custom PHP not cached’ is closed to new replies.