Panel
PowerQA is a state of the art discussion software that makes online discussions fun. It's simple, fast, and powerful.
Menu
OR
AND
Login
Login
Register
PowerQA
Another platform for face to face community
Q&A
Activity
Questions
Hot!
Unanswered
Featured
Categories
Tags
Users
Ask a Question
About
JA
Expert
Vanbells
+1
vote
QA
1,223
views
Testing PQA Base theme speed. Issues
I tested PQA with pingdom and Gtmetrix after disabling PVS plugin.
The site was very slow and loaded in average of 60seconds
The reason was mainly due to pqa trying to load user avaters
Some reasons why the site was very slow included;
osslessly compressing
http://example.com/qa-theme/Base/images/ico.png
could save 535B (28% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=14608399640701454626&qa_size=50
could save 432B (16% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=8309824641205257442&qa_size=50
could save 414B (32% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=12543852386913547020&qa_size=50
could save 409B (26% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=13070423788141188728&qa_size=50
could save 406B (17% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=8685091495804949940&qa_size=50
could save 404B (18% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=13239963118545430749&qa_size=50
could save 398B (21% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=1087990015309709653&qa_size=50
could save 397B (18% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=17314875727365912245&qa_size=50
could save 397B (18% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=11952843843306638902&qa_size=50
could save 387B (34% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=4594582247023788535&qa_size=50
could save 387B (34% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=17108486273420520734&qa_size=50
could save 382B (17% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=7961938026240220132&qa_size=50
could save 381B (20% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=3611767108367301948&qa_size=50
could save 375B (18% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=17299768113798948836&qa_size=50
could save 372B (21% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=14944573820460406526&qa_size=50
could save 371B (25% reduction). See optimized version
Losslessly compressing
http://example.com/?qa=image&qa_blobid=6476686660480341839&qa_size=50
could save 365B (20% reduction). See optimized version
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:
http://example.com/?qa=image&qa_blobid=1087990015309709653&qa_size=50
http://example.com/?qa=image&qa_blobid=11952843843306638902&qa_size=50
http://example.com/?qa=image&qa_blobid=12543852386913547020&qa_size=50
http://example.com/?qa=image&qa_blobid=13070423788141188728&qa_size=50
http://example.com/?qa=image&qa_blobid=13239963118545430749&qa_size=50
http://example.com/?qa=image&qa_blobid=14608399640701454626&qa_size=50
http://example.com/?qa=image&qa_blobid=14944573820460406526&qa_size=50
http://example.com/?qa=image&qa_blobid=17108486273420520734&qa_size=50
http://example.com/?qa=image&qa_blobid=17299768113798948836&qa_size=50
http://example.com/?qa=image&qa_blobid=17314875727365912245&qa_size=50
http://example.com/?qa=image&qa_blobid=3611767108367301948&qa_size=50
http://example.com/?qa=image&qa_blobid=4594582247023788535&qa_size=50
http://example.com/?qa=image&qa_blobid=6476686660480341839&qa_size=50
http://example.com/?qa=image&qa_blobid=7961938026240220132&qa_size=50
http://example.com/?qa=image&qa_blobid=8309824641205257442&qa_size=50
http://example.com/?qa=image&qa_blobid=8685091495804949940&qa_size=50
I also noticed the server load increased from 1.0 to about 10.04
How do we fix this?
Can we disbale loading user avater entirely?
pqa
load
speed
by
Vanbells
asked
Dec 14, 2015
in
Themes
by
Vanbells
edited
Dec 14, 2015
8 Comments
I have spent some time on this issue.
By editing qa-theme.php of base theme mostly to remove the user avatars from appearing in thread lists, I was able to reduce the speed to 6seconds.
I will remove all instances of user avatars from appearing in both thread and replies.
Ideally any website should load in less than 3 seconds.
By customizing further, the test site now loads in 3 seconds.
What about the performance of the Q2A is under the same conditions?
In addition, what about load time in development tool of your browser?
Mostly Q2A performance was very poor which caused me to switch from Apache web server to litespeed web server. After installing pqa on the light speed, I switched to Apache and it work worked very well. On the Apache server, q2a load averages was 86.04 to 101.6 while PQA load averages was between 10.04 to 13.6.
PQA outperformed Q2A.
What was slowing the site down was avatar images which I had to remove from the thread lists
Total load time for PQA in my dev tools is 8742ms ~ 8.742 seconds for all scripts to fully execute on all pages of pqa. This test sites also get about 5000 unique visitors per day and the sever is a minimal vps server
There may be a need to separately evaluate the server's own performance. I am operationg some of PQA site on "dedicated" server. Performance of those sites is less than 1 or 2 seconds. Since the principle of VPS is same as shared server, its performance is no good. In addition, you may need to make sure that avatar is read from the cache.
Yes VPS sucks thats why I am glad that PQA even loads fast on it. I will test on a dedicated server too.
References:
https://www.litespeedtech.com/support/forum/threads/litespeed-cache-settings.5673/
https://www.litespeedtech.com/support/forum/threads/litespeed-configuration-for-high-traffic-web.6528/
http://www.litespeedtech.com/docs/webserver/config/tuning
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
Related questions
Expert
Vanbells
2
answers
+2
votes
997
views
Suggest
in
Plugins
PQA Analytics - Suggestion for Future Versions
pqa
analytics
by
Vanbells
asked
Nov 2, 2015
in
Plugins
Fighter
webmaster
2
answers
+2
votes
1,251
views
Notice
in
Themes
Base theme supported responsive
theme
responsive
by
webmaster
asked
Oct 14, 2015
in
Themes
Fighter
webmaster
+1
vote
768
views
Notice
in
Themes
Gray base theme added
base
gray
by
webmaster
asked
Oct 9, 2015
in
Themes
Fighter
webmaster
1
answer
+1
vote
620
views
Notice
in
Themes
Bootstrap mixed in Base theme
base
theme
bootstrap
mixin
by
webmaster
asked
Sep 25, 2015
in
Themes
Fighter
webmaster
1
answer
+1
vote
1,126
views
Suggest
in
Others
Stress (Load) test
stress
load
test
by
webmaster
asked
Oct 20, 2015
in
Others
Welcome to PowerQA. PowerQA is a new discussion software (
not OSS
). Here is a community for PowerQA developers. Current stable version is
V1.9.4
. It is enhanced day by day.
All categories
Program
286
Core
141
Plugins
105
Themes
28
Langs
4
Document
4
Announcement
18
Others
30
Popular tags
bug
30
version
20
plugin
17
release
16
user
16
menu
16
widget
10
site
10
shortcode
9
editor
9
notification
9
compatibility
9
mobile
9
position
8
post
8
page
8
type
7
issue
7
core
7
theme
7
file
6
ckeditor
6
cache
6
design
6
login
6
form
6
category
6
search
6
dashboard
5
setting
5
error
5
ajax
5
javascript
5
image
5
download
5
admin
5
ask
5
help
5
question
5
popup
4
team
4
count
4
private
4
lang
4
color
4
install
4
home
4
default
4
test
4
pqa
4
Statistics
338
questions
276
answers
480
comments
100
users
Post types
74
QA
24
Discus
166
Notice
23
Report
15
Test
18
Suggest
Q&A
Activity
Questions
1
Hot!
Unanswered
1
Featured
Categories
Tags
Users
Ask a Question
JA
About
Login
Register
...