Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Site updating question

Options
  • 13-03-2011 5:19pm
    #1
    Registered Users Posts: 290 ✭✭


    Hi folks,
    I am relatively new to website maintenance and appear to be having a problem that i dont know how to get around. Basically when i make a change to the site using notepad people whom have the site bookmarked dont see the changes. as far as i know this has got to do with the cookies stored but is there any way around this other than clearing their cookies?
    I did spend time searching and couldnt find anything of a similar problem.

    Any help greatly appreciated
    Davey
    Tagged:


Comments

  • Registered Users Posts: 379 ✭✭TheWaterboy


    It caching that stops the browser reloading your updated CSS / JS files.

    There are plenty of ways to fix this issue - some more elegant than others. Have a read of this article:

    http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files


  • Registered Users Posts: 41 Freemancon


    TheWaterboy is right on this but if it's not helping you then please provide a more specific description of the problem. For example: Is it a static html site that is coded from scratch or does it generate the content using PHP or another method? Is it the CSS changes that are not showing up or the content too? Is the content that's changing (but not updating on the client browser) on the homepage or other pages? Including a link to the site would help too.


  • Registered Users Posts: 378 ✭✭sicruise


    If you want to get around this you can add the following to your head

    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="expires" content="0">

    This should stop the browsers caching their content.

    Although this will increase load on your server as every request for the site will take the full contents from your server.


Advertisement