I have Debian, Apache, MediaWiki. I set Expires in .htaccess for plus one month. MediaWiki sends header Expires: Thu, 01 Jan 1970 00:00:00 GMT. But if I create any simple script or file, it shows the correct information. Anyone else encountered this? I noticed this on many MediaWiki sites. Thank you.
I use this .htaccess: https://raw.githubusercontent.com/MaxKorz/htaccess/master/.htaccess but edit expires for plus one month.