browsers who see my website for the 1st time show an older version

Hi ! I reuploaded all my files to my host 12h ago. When sending my website to friends who never went to my url before, they see my old website... Even on my Chrome browser, it keeps showing the older version unless I hit inspect and then reload by selecting "empty cache and hard load". And even if I type again my url after doing the inspect/emptycache/hardload method, it's showing the old version again. What am I missing ?

Answers

  • is this a processing problem?

  • No, it's a hosting server caching issue. I'm looking for a way to disable it adding a code in my header but haven't found a solution yet. So far, I've ben calling my hosting company to that they reset it...so annoying

  • What is the URL of your website and if I go there what should I see?

  • Answer ✓

    BTW does your web page use Javascript, PHP or other scripting language.

    I am no expert in JS but a Google search found something that might help.

    location.reload(true);

  • It sounds like your server host is caching your files. Who is your server host? Try contacting them.

  • KevinWorkman , yes that's the issue, I'm with Bluehost, been calling them to reset it each time... Quark, my website is taskautomation.org, you should see a game

  • edited December 2017

    is this a processing problem?

    No, it's a hosting server caching issue.

    so why are you posting it on a processing forum?

  • In that case there isn't much we can do about it. You're going to have to contact your server host to see if you can adjust your caching settings.

  • I see a rather nice game congratulations.

    I think the first boomerangs are a bit quick as I didn't get far ;)

    I am using macOS Sierra 10.12.6 and Firefox Quantum 57.0.1 (64 bit)

  • Quark, I finally finished the 1st version of the game, try it out ! http://educationalgaming.org/

  • edited December 2017

    I think the first boomerangs are a bit quick as I didn't get far.

    @quark: Go all the way down for the 2nd boomerang rather than attempting to get past the 1st 1. ;;)

    @ravel44: That'd be nice if you also include the WSAD keys as alternative for the arrow keys. [-O<

    Also place a return false; at the end of keyPressed() in order to avoid scrolling the page when using the arrow keys on a smaller resolution. L-)

    Actually, you should consider keyIsDown() in place of keyPressed(): *-:)
    https://p5js.org/reference/#/p5/keyIsDown

  • 1 more tip: Post your work @ Reddit too: https://www.Reddit.com/r/processing/ :)>-

  • thank you guys for the feedback ! Will certainly use your advices !

  • sharing with you my latest version, I will post it to reddit soon ! http://educationalgaming.org/

Sign In or Register to comment.