Welcome to the LimeSurvey Community Forum

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

Relevance Equations

More
8 years 10 months ago #142510 by teracomp
Replied by teracomp on topic Relevance Equations
Amazing! I've been reading and looking for EM details. So glad to find this post! Now I have a chance!

Dave Phillips
The topic has been locked.
More
8 years 10 months ago #142542 by jelo
Replied by jelo on topic Relevance Equations
What is the current status on this issue? Still no bug id? Or is it a intended feature?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
8 years 10 months ago #142562 by DenisChenu
Replied by DenisChenu on topic Relevance Equations

jelo wrote: What is the current status on this issue? Still no bug id? Or is it a intended feature?

Is it reported ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
8 years 10 months ago #142569 by LouisGac
Replied by LouisGac on topic Relevance Equations
Not bug, rather a choice from the team.

Maybe we could add a single menu entry in advanced, linking to a page with the different EM menus?
The topic has been locked.
More
8 years 10 months ago #142584 by jelo
Replied by jelo on topic Relevance Equations

LouisGac wrote: Not bug, rather a choice from the team.
Maybe we could add a single menu entry in advanced, linking to a page with the different EM menus?

Perhaps a hidden menubranch, which contains the features currently linked to different debug setting.
Beside EM I remember the clearing of the template cache being linked to a certain debug setting, right?
I would have looked for a "purge cache" menu / setting like in the common blog/cms systems. Never had expected it to be linked to a debug status.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • New Member
  • New Member
More
8 years 10 months ago - 8 years 10 months ago #142586 by LouisGac
Replied by LouisGac on topic Relevance Equations
No, the cleaning of the cache is not linked to the debug mode.

When debug mode is on, the asset manager is not used, so devs just need to refresh their browser cache to update the CSS/JS.
Else, the asset manager is on, working like a charm since months, so people don't have to worry about it at all, nor to understand how it works.

The effect of using the asset manager is that final user (participant of a survey) do not need to refresh the cache of their browser to have the last version of the CSS/JS. Before, in this forum, you spent quite a lot of time explaining people they should say to their participants to update their cache (which is a pretty complex operation on a mobile phone without cleaning all the cache of the web browser).

About purging the asset directory, it's done each time we release a new version of asset (so basically, at each release). The code is here:
github.com/LimeSurvey/LimeSurvey/blob/ma...teForm.php#L380-L389

It could be easily moved to a different function, and then we could give users a control to do it when they want, but it's just totally useless. You never have to do it. It will never fix a problem. We're doing it only to avoid the folder to become huge after few months.

you can read the Yii documentation about it:

Many newcomers ask: "What do we do with the assets folder?", and the answer is "Mostly nothing".

www.yiiframework.com/wiki/148/understanding-assets/#hh4
Last edit: 8 years 10 months ago by LouisGac.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose