I have dynamic CSS file like this:
$Css = get_from($_u_6);
/* do stuff and other things here... */
$expires = 60*60*24;
header("Pragma: public");
header("Cache-Control: maxage=".$expires.", must-revalidate, public");
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT');
header('Content-type: text/css');
echo $Css;
Headers are set correctly: http://i.imgur.com/MIH7j5U.png
But The server always responds with HTTP 200 OK (and the correct content), rather than with a HTTP 304 ( Not Modified).
How can I convince the browser and the server to cache these dynamic css files and to send 304 response?