InoculateIT wrote:I noticed when I upload pictures, its the whole site that slows down again, so im wondering if its recache the whole site when just 1 picture is uploaded :(
It doesn't quite make sense.
Yes, when you upload a photo or edit a page, all page-cache will invalidate. That's because one change on any page, may affect other pages, and also the main menu. However, even when pages need to get re-created, they are created fast. You can see in my screenshot from yesterday, how uncached pages are processed at 0.15 seconds, while cached pages are processed at 0.0025 seconds. Cleary cached pages are served much faster, but re-creating pages in X3 (0.15 seconds on your server) is nothing even close to matching the slow loading times you are seeing (and I saw).
This is how it works in all X3 websites, after updating or after editing pages. Re-creating pages is not slow at all, but cache is simply blazing fast, that's why we use that also.
X3 doesn't automatically "create cache" after you upload pictures. It will recreate cache for pages as they are requested by visitors to each page, like in my screenshots. As you can see, a "normal" creation time is around 0.15 seconds ... If it's going to take much longer on that, it means there is a different process on your server. Surely you don't have 1000 simultaneous visitors requesting uncached pages at the same time?
There is something bringing your server to your knees.
- It's not page-processing, unless you are using some crawler application that crawls through all the links in your website in parallel. That's the only reason your server could become unresponsive.
- Another thing to mention is images. Images will resize slowly (relative to server speed), and if your server is resizing hundreds of images, it could become unresponsive. However, image cache does not get recreated after editing/updating pages ... Image cache only gets "created" on demand, for newly uploaded images. You are not deleting
Either you are triggering some kinda abnormal process, or something with server. This cache revalidation is entirely normal, and is not affecting other X3 websites, even ones with heavy content.
Sorry, I can't make any further suggestions. By all normal X3 processes, there is nothing that could cause your pages to load as slow as it does (uncached). There must be some external influence (server or event).
You could try to downgrade to X3.27.6, but I don't see that being related. Download x3_updater.php, uploading into X3 root, and then run fotoskuret.dk/x3_updater.php?v=X3.27.6.
As an option, you can always consider moving your website to our flamepix.com with price-match offer. Problem solved.