Mobile app version of vmapp.org
Login or Join
Kimberly868

: PHP website page loading is very slow in localhost PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data.

@Kimberly868

Posted in: #Ajax #Css #Html #Php

PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data. Could anyone tell why how this can be?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Kimberly868

2 Comments

Sorted by latest first Latest Oldest Best

 

@Moriarity557

If you are having problem to process large data first and foremost you should optimize your code such as loops and multiple variables.

And also you can use caching provide by php such as php apc or other accelerators mentioned here as per your comfort.

10% popularity Vote Up Vote Down


 

@Barnes591

I would say if your computer processing power is good enough then you need to look at your implementation.

If you got massive data to process and load then you might have to consider following:


Find ways to improve your code and minimise unnecessary code execution.
If your code is fine then you might have to look at your database and find ways to improve and here there are so many things involved like: database cleanup, indexing etc.


Hope this helps.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme