Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System setting 'cache_disabled' appears to be not working correctly. #12938

Closed
muzzwood opened this issue Mar 20, 2016 · 9 comments
Closed

System setting 'cache_disabled' appears to be not working correctly. #12938

muzzwood opened this issue Mar 20, 2016 · 9 comments
Labels
area-core bug The issue in the code or project, which should be addressed.
Milestone

Comments

@muzzwood
Copy link
Contributor

Summary

Working with static elements, I enabled the system setting 'cache_disabled'. Changes do not appear until I clear the cache. So, it appears caching is still happening even though this system setting is supposed to turn everything off.

Step to reproduce

  • Enable the cache_disabled system setting.
  • Edit a static template in your IDE of choice.
  • Refresh the page in your browser. Note how your edit is not there.
  • Refresh the MODX cache.
  • Refresh the page in your browser. See that your edit has now appeared.

Observed behavior

Editing a static element produces no result on the front end unless the MODX cache is refreshed.

Expected behavior

The cache should not need to be refreshed as caching should be disabled.

Environment

MODX 2.5.0-rc1

@jcdm
Copy link

jcdm commented Aug 15, 2016

+1 in MODX 2.5.1-rc1

@wuuti
Copy link
Contributor

wuuti commented Jul 7, 2017

Reviewing this issue #modxbughunt

The issue is still active in current 2.5.x-branch

@gpsietzema
Copy link
Contributor

#modxbughunt #1point to @wuuti

@wuuti
Copy link
Contributor

wuuti commented Jul 7, 2017

Digging into it: even if cache_disabled is active, MODX generates the cache files. IMHO that is wrong in the first place, and not necessary: if we disable the cache we can spare the generation of any cache file...

Update: also happens if you set MODX_CACHE_DISABLED in the config.inc.php to true.

@wuuti
Copy link
Contributor

wuuti commented Jul 7, 2017

I cannot find any use of cache_disabled in core/model or core/xpdo. I found a changelog entry from version 2.0.0-beta-1 saying that this feature is no longer used but will again be usable in the future??? Can it be that this never was worked in again and we have taken over legacy configs over years?

@sonicpunk
Copy link

#modxbughunt #1point to @wuuti

@OptimusCrime
Copy link
Contributor

Paging @opengeek

@AntonFix
Copy link

Same problem. I use Webstorm and Deployment via ftp.

@alroniks
Copy link
Collaborator

alroniks commented Aug 2, 2018

PR is merged, closing the issue.

@alroniks alroniks closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug The issue in the code or project, which should be addressed.
Projects
None yet
Development

No branches or pull requests

9 participants