-
- 5 Posts
I’ve managed to find a fix for this which I hope might be of use to someone else.
I added a snippet to the top of the Template for the search results which adds this:
<?
header( ’Cache-Control: private, max-age=10800, pre-check=10800’ );
?>
Seems to work for me.
-
- 3 Posts
Thanks for that, fixed for me too (IE8).
-
- 1 Posts
Brilliant!
Fixed my issue.
<?php
header( ’Cache-Control: private, max-age=10800, pre-check=10800’ );
?>
-
- 76 Posts
More thanks for this solution.
The same error was reported by one of my users today. Strange that the site has been live for 2 years, but it hasn’t been reported before. No changes to MODx that would affect this, but maybe something PHP/Apache was changed on the server?
I put the code into a MODx snippet, so it only sets the Cache-Control header for the search page.