Skip to content

Cache CultureRecords by both Id and Name#8708

Merged
MatteoPiovanelli merged 1 commit into
OrchardCMS:1.10.xfrom
LaserSrl:PR/8706_cache_culture_records
Jul 7, 2023
Merged

Cache CultureRecords by both Id and Name#8708
MatteoPiovanelli merged 1 commit into
OrchardCMS:1.10.xfrom
LaserSrl:PR/8706_cache_culture_records

Conversation

@MatteoPiovanelli

Copy link
Copy Markdown
Contributor

Fixes #8706 , in case we want to.
The queries are only ever done again when the appropriate signal is raised (it should be raised whenever the records are changed in any way).

I don't think this is a massive speed up, tbh: it's probably only significant where the connection to the db server is having some trouble.

@MatteoPiovanelli
MatteoPiovanelli marked this pull request as ready for review July 7, 2023 07:57
@MatteoPiovanelli
MatteoPiovanelli merged commit 729f8dd into OrchardCMS:1.10.x Jul 7, 2023
@MatteoPiovanelli
MatteoPiovanelli deleted the PR/8706_cache_culture_records branch July 7, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants