I have no idea what am I doing wrong. While I appreciate the idea of caching and how much it speeds up the loading, apparently I just can't set my server right when it comes to this functionality.
So, I'm making a pretty dynamic website (blog, kinda) that updates every hour. I thought, hey, maybe I should set the caching of text/php and text/html content for 1 hour?
And I did just that (I think so?):
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType text/html "access plus 1 hour"
ExpiresByType text/php "access plus 1 hour"
Header set Cache-Control "public"
</IfModule>
However... It doesn't work. The contents still won't refresh for client even after 1 hour after accessing it. Tested it in few browsers among few different PC's. Nada, it won't update after one hour, unless I force it.
Did I misunderstood how expires work by any chance?