: 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.
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?
More posts by @Kimberly868
2 Comments
Sorted by latest first Latest Oldest Best
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.