Welcome to the LimeSurvey Community Forum

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

Theme Development: Disable Frontend Cache (Community Edition)

More
1 day 7 hours ago #273488 by AdrianJean
Please help us help you and fill where relevant:
Your LimeSurvey version: Community Edition — 6.16.3+251215 
Own server or LimeSurvey hosting: Ubuntu 24.x
Survey theme/template: Custom
==================

Problem:
I am trying to develop a custom theme and need to disable the front-end cache as clicking the clear cache button in Global Settings takes too long during rapid development.

What I have tried:
- I've modified the
Code:
/application/config/config.php
 file, changing the setting
Code:
debug=1
which is supposed to disable caching, but doing so and clearing all caches and making css changes does not work.
- I've search the docs, but haven't found anything.
- I've searched these forums but only found the
Code:
debug=1
reco from many years ago.

I'm new to LimeSurvey as a platform (but not new to web dev) so maybe there is something more obvious I am missing, any help to make it easier to develop themes for this great platform would be appreciated.

Please Log in to join the conversation.

More
1 day 7 hours ago #273489 by DenisChenu
Can you check HTML source ? It's still used asset link ?

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.

Please Log in to join the conversation.

More
1 day 4 hours ago #273492 by AdrianJean
I should have added that this is happening in the "Preview Survey" mode - that might have an impact. I checked the source and it's loading the cached css and it's not the browser cache.

Please Log in to join the conversation.

More
16 hours 42 minutes ago #273494 by DenisChenu

I should have added that this is happening in the "Preview Survey" mode - that might have an impact. I checked the source and it's loading the cached css and it's not the browser cache.
 
What is the link for css and js ? Include assets/[randomnumber] ? Can you send a screenshot ?

Pëase : be more clear in your explanation!

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.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose