how to reduce loading time of index.php - Page 3 how to reduce loading time of index.php - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

how to reduce loading time of index.php

Started by Bradster, July 12, 2013, 05:20:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Niecher

In my case:
Quote
Before: "Page query count 62"

Now: "Page query count 46"

Regards.

Bradster

Sorry, now it's

Parse error: syntax error, unexpected $end in /home/content/27/3728527/html/coppermine/index.php on line 1262

at the very end of the document. If I'm making a mistake, I'm doing it over and over again without figuring out what it is...

Αndré

Maybe Niecher or someone else can attach the successfully modified file to his/her reply, as I'm not able to access it before Monday.

Niecher

#43
Here is the file

Regards.

Bradster

Thank you Niecher, this doesn't cause errors. After a third or fourth attempt I was finally able to get my version to match, according to diffchecker.com. (Honestly don't know how my Search and Replace was getting botched)

Queries are down to 105, and is the same whether or not "Show first level album thumbnails in categories" is selected- though with almost 900 albums I definitely won't have it selected.

Thanks again for the time and effort on the part of the devs.

phill104

What were you using as an editor Bradster? Some tools can mess with code. I recommend the free http://notepad-plus-plus.org/
It is a mistake to think you can solve any major problems just with potatoes.

Bradster

Phill, I was using EditPad Lite, and I rarely have problems with it. I'll just have to assume that somewhere along the line I wasn't selecting the full text in the Search/Replace windows when moving from one correction to another. I will also look at your suggested editor- never hurts to have two good and simple ones around.

Αndré

Quote from: Αndré on September 06, 2013, 11:14:25 AM
If everything works as expected, I'll commit the changes to our SVN repository.
Committed changes in SVN revision 8605.

astrasuite

Well, I saw this change was part of 1.5.26 ... 1.5.26 in general seems to have speeded up my gallery, and Google Webmaster no longer complains (so far) of my gallery being slow, great !

olivedev

Have you tried enabling CDN on your website and integrating caching. My website was slow as well, but once I activated CDN and integrated Varnish and Memcached, the performance really improved. I also changed from shared hosting of Godaddy to dedicated hosting on Cloudways.