System Cache - Magic Button

Jacob Mallach asked on November 29, 2017 19:46

Hello,

We've recently made layout edits to various webparts and widgets. Essentially editing pre-existing .ascx and .css files.

Upon replacing the associated files on our public facing production site we are learning that some users are still seeing old cached files and not our shiny new work.

Is there a magic button to push in Kentico that will more forcefully flush a users browser cache?

Thanks for the help.

Correct Answer

Brenden Kehren answered on November 29, 2017 20:49

You can go to the System app and click Clear Cache and it will clear the cache on the server side. It may not clearn the client browser cache but renaming specific CSS and JS files will definitely clear that issue up.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Peter Mogilnitski answered on November 30, 2017 16:23

You don't have to rename files. Just open the incognito window in chrome.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 30, 2017 16:30

That doesn't fix the problem for end clients though Peter.

0 votesVote for this answer Mark as a Correct answer

Jacob Mallach answered on December 1, 2017 23:01 (last edited on December 1, 2017 23:03)

Brenden,

In regards to cache busting static files on the front end.

I'm wanting to streamline a process within Kentico that also timestamps static front end files to ensure they are busted by the browser. Does this kind of feature exist currently in Kentico10?

Thanks for the help.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on December 2, 2017 01:27

You might want to have a look into one of my blog posts where I use a combination of a custom Kentico Macro and IIS features to help browsers know when to load a new file.

You can find it at:

http://www.devdavid.nl/dtk/may-2017/hey-browser,-i-ll-tell-you-when-to-cache

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.