Thanks for your answer and sorry for my very long comment, I would like to provide as much information as (maybe) needed.
-
$ bin/grav cache
: no changes, the same behavior, unfortunately.
-
The test-system and the live-system are on the same server (huge provider in Germany). The only difference is, that the sub-domain is referring to a different folder. Every single file is exactly the same. copied from “test-folder” to “live-folder”. I am using also the same .htaccess
-
the clean installation:
3.1) I started with a change of the redirection of the folder for the live-system to a folder called “maintenance” (backend of the provider). This folder includes a simple html-file with the information “currently under maintenance” and a .htaccess file, which redirects every 404, … to the index.html => everything was fine, the message appeared every time, when I entered the domain within the browser.
Old: www.myurl.com => $HOME/folder-for-live-system
New: www.myurl.com => $HOME/folder-for-maintenance
3.2) Then I have installed GRAV from scratch in a folder called “live-system-v2”. Forthat I created another sub-domain, with a redirection to this folder. After the first configuration (admin, password,…) I checked the side (included pages of Antimatter) and everything was running as expected.
testsystem2.myurl.com => $HOME/folder-for-live-system-V2
3.3) I moved to the theme Antimatter my own child-theme (with custom.css) to this new subfolder and after that I activated my own theme => everything was fine. Colors, fonts, everything was as expected.
3.4) Then I started with the move of some already created pages to the new folder. The numbering of the pages was clear and every number of a page was unique (01.xxx, 02.xxx …): everything was as expected.
3.5) After that I moved all the other pages (approx. 30 pages) to the new sub-folder => everything was fine.
3.6) I configured some plugins, like the error-page plugin (with the refer to the proper page) and other small things. Everything from the backend of GRAV. No changes in the base configuration of GRAV.
The side was really fast and I was happy.
Then I logged in at the providers backend and changed the redirection folder for the domain to the new folder (step 3.1 - 3.6). After that the site was horrible slow.
So far: testsystem2.myurl.com => $HOME/folder-for-live-system-V2
Now: www.myurl.com => $HOME/folder-for-live-system-V2
Well, as you already mentioned, I have cleared the cache a) via GRAV’s backend and b) also via the terminal. Nothing changed: the load of a page takes up to 30 seconds.
When I switch back to the combination, that the url for the test-system redirects to this folder “V2”, everything is fine. Means the website is fast again.
The only difference is: that the sub-url has no https (certificate) and the main domain www.myurl.com
has https. Well, that are the only differences (force_ssl: false
) for the test-system and (force_ssl: true
) for the live-system.
Is that maybe the problem, the https?