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

PHP: caching QGIS Server metadata #5262

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Jan 24, 2025

Adding Kevinrob/guzzle-cache-middleware, to defined cache strategy for caching QGIS Server metadata.

The main goal is to reduce the number of request to QGIS Server to get it's metadata. The QGIS Server metadata request's result will be stored during 60 seconds. During this time, no more QGIS Server metadata request will be performed.

Adding a new jCache profile : requests.

@rldhont rldhont added QGIS Server php Pull requests that update Php code labels Jan 24, 2025
@github-actions github-actions bot added this to the 3.10.0 milestone Jan 24, 2025
@rldhont rldhont added the run end2end If the PR must run end2end tests or not label Jan 24, 2025
Copy link
Member

@Gustry Gustry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !

lizmap/modules/lizmap/lib/Request/Proxy.php Outdated Show resolved Hide resolved
@rldhont rldhont force-pushed the guzzle-cache branch 6 times, most recently from af8abd8 to c51ba45 Compare January 29, 2025 13:41
@rldhont rldhont marked this pull request as ready for review January 29, 2025 14:33
@rldhont
Copy link
Collaborator Author

rldhont commented Jan 29, 2025

Waiting to #5293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
php Pull requests that update Php code QGIS Server run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants