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

Bug: view caching not work on windows #3711

Closed
paul45 opened this issue Oct 2, 2020 · 2 comments · Fixed by #3755
Closed

Bug: view caching not work on windows #3711

paul45 opened this issue Oct 2, 2020 · 2 comments · Fixed by #3755
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@paul45
Copy link
Contributor

paul45 commented Oct 2, 2020

The cache file does not creating when i don't set cache_name option

i have see issue #2821 and i think it is the same issue

on windows and with CI 4.0.4

@paul45 paul45 added the bug Verified issues on the current code behavior or pull requests that will fix them label Oct 2, 2020
@paulbalandan
Copy link
Member

Can you provide your code where the caching didn't work? It has been fixed in #2821 so there may be something peculiar to your code that causes the problem.

@paul45
Copy link
Contributor Author

paul45 commented Oct 9, 2020

sorry my issue isn't clear

this code don't create cache
`extend('templates/theme_bs'); ?>

section('content') ?>
        <?= $this->include("templates/slider",['cache' => 86400]) ?>
endSection() ?>`

and this code create cache
`extend('templates/theme_bs'); ?>

section('content') ?>
        <?= $this->include("templates/slider",['cache' => 86400, 'cache_name' => 'slider']) ?>
endSection() ?>`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants