Hello, I've recently been having very long loading times for my CodeIgniter pages. Even without database queries, it takes > 16 seconds to load a simple view. PHP memory_limit etc. is set to > 4 GB. I also have the problem with both Xampp and Wamp Server (Xampp currently installed). I'm slowly running out of ideas as to what else could be causing it. Do you have any ideas?
Quote:Bootstrap: 23.83 ms
Required Before Filters: 3.39 ms
Routing: 1.45 ms
Before Filters: 0.04 ms
Controller: 16,271.44 ms
> Controller Constructor: 2.69 ms
> View: sites/privacy.php: 16,265.88 ms
> View: layouts/main.php: 8,148.69 ms
I don't have any filters or anything like that active. Controller is very simple:
PHP Code:
public function privacy()
{
echo view('sites/privacy');
}
View contains simple html (static).
If I write a PHP script that performs certain database queries, it runs in a few milliseconds also local.
The site is extremely fast on the live system (Ubuntu server). So it must be something local. But I don't know what else I can check.