This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Commentics making the page really slow?
#11

I tested the existing method and the two new solutions and they all took around 0.5 seconds for me, so I will stick with the existing method (unless I hear back from you).

Have you completed the interview?
Reply
#12

We are still testing and adapting, since I am part time working in shifts and part time self employed sometimes I run out of time.

We auto populated the pages and comments database with 2 small php files I created.

Front ent of the websites reacts really nice at this moment. I still need to test your code, will do that today and report to you.

I will post the two import files with instuctions somewhere in the forum for other users with dynamic large sites.
Reply
#13

Ok Steven,

Testing your code:

Solution 1 takes 7 seconds for the page to be loaded and stored in db

Solution 2 takes 10 seconds for the page to be loaded and stored.

Also you had an error in your posted code for solution 2. You ended with } and that was one to many and created parse errors.

So I will return to your original code and use the inclusion of my own php variables for the page_id to be stored.

Back to original code + own variabled takes fractions of seconds to load the page.

Thnx for the support.

Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
22-Feb-2024, 06:58 PM
Last Post by Koksi
22-Nov-2012, 03:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)