Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to manually refresh the cache?

  • alorenc
  • alorenc's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #211611 by alorenc
How to manually refresh the cache? was created by alorenc
I changed something in the configuration, not directly in Lime. But it does not see these changes because it loads the view from the cache. I deleted files from the cache folder. I refresh and he still doesn't see my changes. As if he regenerated his hiding place.

When I edit an action that calls this view and make some changes, it creates a new cache file when the page is reloaded.

I would like to run it myself, manually, without changing the code. To avoid the above error. How to do it?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #211616 by DenisChenu
Replied by DenisChenu on topic How to manually refresh the cache?
Depend on cache.

If cache is done by directory : in windows server : you can create a directory in this directory (and remove it after)./
Else : see github.com/LimeSurvey/LimeSurvey/blob/ma...Yii_AssetManager.php and github.com/LimeSurvey/LimeSurvey/blob/1e...AssetVersion.php#L63

And finally : you have a button in global settings … reste WHOLE cache.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: alorenc
The topic has been locked.
  • alorenc
  • alorenc's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 2 months ago #211682 by alorenc
Replied by alorenc on topic How to manually refresh the cache?
Thank you, increasing the "asset version number" helped.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose