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]: Pre-generated cache is not used in LWC 3.7.6 #4511

Open
1 task done
Oxsw1ng opened this issue Jun 10, 2024 · 1 comment
Open
1 task done

[Bug]: Pre-generated cache is not used in LWC 3.7.6 #4511

Oxsw1ng opened this issue Jun 10, 2024 · 1 comment
Labels

Comments

@Oxsw1ng
Copy link

Oxsw1ng commented Jun 10, 2024

What's the bug ?

I know there's a similar issue right there : #2053 but I'm reopening one since it didn't really helped for me.

I'm using LWC 3.7.6.
I have pre-generated the server cache for each layer of my project using php /var/www/lizmap-web-client-3.7.6/lizmap/console.php wmts:cache:seed <repository> <project> <layer> <EPSG> <MINZOOM> <MAXZOOM> which work, because some files are created in the cache repository.
The bug is that the cache files aren't used by Lizmap.
It continues to use browser cache, but not the server cache.

Steps to reproduce the issue

  1. Do the basic install of Lizmap Web Client for Linux
  2. Declare a cache repository in the administration panel
  3. Use the command php /var/www/lizmap-web-client-3.7.6/lizmap/console.php wmts:capabilities <repository> <project>
  4. Generate the cache for each layer using php /var/www/lizmap-web-client-3.7.6/lizmap/console.php wmts:cache:seed <repository> <project> <layer> <EPSG> <MINZOOM> <MAXZOOM>
  5. Enter the project for which you generated the cache
  6. Realize that the cache isn't used

Versions, safeguards, check summary etc

  • LWC 3.7.6
  • QGIS Server 3.22

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Debian 12

Browsers

Firefox

Browsers version

Firefox 126

Relevant log output

No response

@Oxsw1ng Oxsw1ng added the bug label Jun 10, 2024
@gioman
Copy link
Contributor

gioman commented Jun 16, 2024

@Oxsw1ng this adds up to my ticket #3696 where I placed a few observations on caching along time, but that didn't get much attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants