Questions tagged [performance]

The tag has no usage guidance.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
120 views

Filtering products by categories and showing number of products related to selected category

I currently have about 420 products and over 100 of categories to choose from for each products, showing the list of categories and filtering it, works fine, and performance is not too bad when it's ...
2
votes
0answers
147 views

Neo performance (large page)

I'm using Matrix and Neo to build out quite large, complex entries. On larger pages (70+ blocks each with one-multiple sub-blocks) the performance is taking a bit of a hit taking upwards of 40 seconds ...
1
vote
0answers
55 views

What's the most performant way to get reverse related entries within an Element Query?

What's the most performant way to get reverse related entries within an Element Query? Here's a contrived example of this. I have thousands of "book" entries and thousands of "collection" entries. I ...
1
vote
0answers
182 views

Error while sending QUERY packet. PID=881 when using cache key

If I do: {% set cacheKey = block.id %} {% cache using key cacheKey if craft.app.config.general.cache %} {% for item in items %} <div class="swiper-slide ais-hits--item" data-id="{{ ...
1
vote
0answers
111 views

Eager Loading Entries - Creating a Navigation from a structure

I have a multi-level structure in Craft that is being used for navigation. As part of this I have a few different entry types, but each entry that links to a page has a entry-field of singlePage. At ...
1
vote
0answers
165 views

Craft 3 improvements to relationship querying?

I've been using Craft for a couple of years now and I do love it, however I consistently run into massive performance issues with it. I heavily rely on caching and eager loading - however this doesn't ...
1
vote
0answers
841 views

PHP memory limit, is 1024 MB too much?

I just had some problems with an update exhausting my memory. But I already had the PHP memory limit at 512 MB, and I had to take it up to 1024 MB! I know this is relative but, is this too much? How ...
1
vote
0answers
441 views

Superslow loading of pages in Craft locally

I am having trouble pinpointing the issue but I am struggling with some of my pages taking an absolute age to load. For example; It might be a local MAMP issue, but some pages load fine and I ...
1
vote
0answers
109 views

Craft 2.6 CMS Posts Overloading Servers

We've had a half a dozen cases now of people editing content in different Craft 2.6 sites taking down our webservers. One staff member here editing a basic entry in the CMS has taken down a large ...
1
vote
0answers
210 views

Performance and cache when using entry type templates and getSegment

I'm working on a site that will end up having 30-40+ structure sections which are sharing templates and will be using about 10 different entry types. (This would probably be much easier if I used ...
0
votes
0answers
23 views

How many simultaneous visitors CraftCMS can handle?

I am looking for a CMS as a backbone for front-end work and I like CraftCMS by its interface and structure, so I wonder if CraftCMS is capable for this project. In practice most of the work will be ...
0
votes
0answers
9 views

Eager Loading in commerce cart

I'm trying to improve the performance of the craft commerce checkout process. I have some image thumbnails in the cart. Since I can't cache the cart I want to use eager loading for improving the db ...
0
votes
0answers
20 views

Eager loading showing duplicated DB query

So I've had a read on Eager loading on CraftCMS from an article by nystudio107 and begun enhancing my website for a client but I'm currently running into an issue which I'm not sure could be fixed or ...
0
votes
0answers
58 views

Control panel - Entry indexes very slow

Craft CMS 3.3.15 PHP 7.1.3 MySQL 5.5.42 I have a structure with 360 entries. Right now in the CP it takes 3.5 - 10 seconds to load the first 50. And another 3.5 - 10 seconds for every additional ...
0
votes
0answers
80 views

Craft on a cPanel hosting with CentOS and CloudLinux – I/O faults?

I'm running Craft on our shared hosting with PHP 7.2. No SSD. Performance is fine, but working in the backend, I often get hickups of several seconds (!), where nothing happens, everything stalls. ...
0
votes
0answers
104 views

Best way to improve complex query?

This question is related to a previous question I asked: Sort entries in a category via entry field I have a page that is running the same query from the previous question: {% set businesses = craft....
0
votes
0answers
170 views

Eager Loading not reducing the queries

Related to this previous post. But I have created a new post with more information. Understanding Eager Loading So My template code with Eager Loading looks like this. {% set articles = craft....
0
votes
0answers
97 views

Performance problems filtering lists

I have a site where I need to paginate and filter a list of businesses by different criteria. In the business entry, I’m using the Reasons plugin tied to about 8 different lightswitches which, when ...
0
votes
0answers
76 views

TTBF about 30 seconds

i have a big problem on my site. One for loop requires more than 30 seconds. When i put the loop in a comment, the page loads shortly. So the loop must be the problem. Is there any trick to ...