QUICK NEWS

{NEW} -Lot's of changes to the site. From the front page to the theme.

{OLD} -We are open. Stop on in and say hi.

Video of the week


Internal Links

SMF Sites

Quick Info

Force refresh?

Started by LandyVlad, Feb 11, 2019, 08:40 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

So when changes are made to the forum colours icons etc, my members don't usually see them UNTIL they ctrl-F5 (or other OS equivalent)

Is there a way somehow to globally force a refresh for all users of (say) an SMF forum?

Bigguy

Other than clearing cache there is none that I know of....

live627

2.0.15? Edit index.template.php and change ?fin20 to something else. ?ver1, for example. Increment that number whenever you wanna load awesome new changes for everyone.

LandyVlad

Nah that doesn't force a refresh thougj does it?

Evenso I was hoping for something more... easy.

live627

Quote from: LandyVlad on Feb 12, 2019, 05:11 amNah that doesn't force a refresh thougj does it?
Mmm, it beats the browser cache.

Quote from: LandyVlad on Feb 12, 2019, 05:11 amEvenso I was hoping for something more... easy.
Solved in 2.1 by using timestamps :)

Skhilled

For SMF 2.0.15 and 2.1 RC1 after any changes "IF" you has caching enabled on the forum:

Admin -> Maintenance -> Forum Maintenance ->  Routine -> Empty the file cache. Click the "RUN TASK NOW." button.

Doing this manually at least once per week or setting an Scheduled Task to do it will help keep your forum running faster.