• Hello everyone!

    I’ve built a site for a client in which the page’s and post’s content gets revised or published several times a day.
    The problem: I want to make it possible for users that have visited the site previously or get in for first time to get the latest freshest content that has been published or revised by my client.
    I’ve been unsuccessfull in this.
    Any help or advice would be much apreciated, thanks!

    The site is in portuguese, but here it is the link: https://vitorbaiameteo.pt/

    Hope to here from someone soon ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this at the very top of your themes header.php file.

    <?php
    header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
    header('Cache-Control: no-store, no-cache, must-revalidate');
    header('Cache-Control: post-check=0, pre-check=0', FALSE);
    header('Pragma: no-cache');
    ?>
    Thread Starter New_Noob_on_the_Block

    (@new_noob_on_the_block)

    High Radix!

    Unfortunately I’ve already tried that and it didnt do the work and it added another problem, it originated faillure messages in the top of the page. I have (almost) that same functions in meta http-equivs and those solve the problem for everyone that goes to the page for the first time now, but not for those who visited previously to the insersion of the metas…
    I don’t want to force a cache clean up because of the obvious downfalls.

    Help? Someone?

    I realize this is a non-technical answer and probably NOT what you’re looking for, but from a usability perspective, your client would better service their site visitors by making it clear that the content is updated frequently and they should refresh their browser on each visit to avoid browser-cached old information.

    Thread Starter New_Noob_on_the_Block

    (@new_noob_on_the_block)

    Hello TrishaM,

    Yes, from a usability point of view that would be the best approach, but I am dealing with a older aged target (both in the case of my client and the people that visit his site) for whom the fact of having to refresh the site in every visit is seen as a mal-function. Thanks for your comment ??

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post and Pages not actualizing automatically’ is closed to new replies.