Comments (6)
That query is only run once per shortcode. You probably have more than one summary shortcode or widget on the page.
from site-reviews.
@pryley You are right it's tagged the same so query monitor flag it as duplicate while it's two different short code widgets. Thanks.
There is no way it can be limited with 1 query as the same array is used just different parts for different widgets to place them differently? As I think it's commonly used like this for some users to have a more flexible design. But that comes at extra SQL queries. Just asking, the sql queries is well optimized anyhow but maybe things can still be improved. Just an idea maybe not possible to inherit and fetch the value from the other array already called and recevied.
from site-reviews.
All database queries used in Site Reviews are highly optimised for performance. The queries for each shortcode differ depending on the options used.
If you need further optimisation, I recommend you check out one of the many caching and performance plugins which provide database query caching.
from site-reviews.
So site reviews take full advantage of redis as object cache in wordpress? I have it enabled on the stack and in wordpress.
from site-reviews.
Site Reviews uses the WordPress wpdb class to make queries to the database so any caching that affects WordPress queries should apply.
from site-reviews.
Thanks, sounds great reassuring to hear.
from site-reviews.
Related Issues (20)
- Issue with assets path in local development HOT 1
- assigned_terms and assigned_posts not working properly in site_reviews_summary HOT 5
- 'Slow query' reported by Query Monitor HOT 18
- Error activating plugin HOT 2
- Add a new field. HOT 1
- Tag v5.0.1 just vanished HOT 8
- Review details disappeared from client webiste HOT 1
- site_reviews shortcode display, pagination issues with Elementor HOT 14
- Performance issue HOT 5
- cannot activate plugin due to new wordpress update 5.8.1
- test
- Pagination: load more feature HOT 1
- Spam submission protection HOT 6
- Function GeminiLabs\SiteReviews\Application->__get takes 0.555044 HOT 2
- Respond "quick edit" layout is broken
- Viewing Review Filter addon - 404 HOT 11
- Clarification about using Filter and Form addons HOT 1
- Template tag review_link deprecated? HOT 1
- Use email address from the user profile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from site-reviews.