*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #15 on: November 18, 2017, 09:48:07 PM »
@Loma Thank you for valuable input.
I never used that plugin but I do 8/10 important plugins but couldn't really figure out which is causing issue.

@ frosticek
I told u loading issue of publish listing page based on pingdom and google insight pages and personal testing.
I tried almost everything - but problem is still there.

I contacted my host - and they refuse to take up this issue ... :-\ though I guess major cause  could be from the host....
Please help me in sorting out this issue once and far all on !!!!

Tried almost everything ...........including free website on cloudflare etc ...

Slow down continues....

my htaccess file is :
---------------------------------------------------------------------------------------

<IfModule mod_deflate.c>
# force deflate for mangled headers
<IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
  </IfModule>
</IfModule>

# HTML, TXT, CSS, JavaScript, JSON, XML, HTC:
<IfModule filter_module>
  FilterDeclare   COMPRESS
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/html
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/css
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/plain
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/x-component
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/javascript
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/json
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xhtml+xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/rss+xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/atom+xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/vnd.ms-fontobject
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/svg+xml
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/x-font-ttf
  FilterProvider  COMPRESS  DEFLATE resp=Content-Type $font/opentype
  FilterChain     COMPRESS
  FilterProtocol  COMPRESS  DEFLATE change=yes;byteranges=no
</IfModule>

<IfModule !mod_filter.c>
  # Legacy versions of Apache
  AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
  AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
  AddOutputFilterByType DEFLATE image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
</IfModule>
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive on

# Perhaps better to whitelist expires rules? Perhaps.
  ExpiresDefault                          "access plus 1 month"

# cache.appcache needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5)
  ExpiresByType text/cache-manifest       "access plus 0 seconds"



# Your document html
  ExpiresByType text/html                 "access plus 0 seconds"

# Data
  ExpiresByType text/xml                  "access plus 0 seconds"
  ExpiresByType application/xml           "access plus 0 seconds"
  ExpiresByType application/json          "access plus 0 seconds"

# RSS feed
  ExpiresByType application/rss+xml       "access plus 1 hour"

# Favicon (cannot be renamed)
  ExpiresByType image/x-icon              "access plus 1 week"

# Media: images, video, audio
  ExpiresByType image/gif                 "access plus 1 month"
  ExpiresByType image/png                 "access plus 1 month"
  ExpiresByType image/jpg                 "access plus 1 month"
  ExpiresByType image/jpeg                "access plus 1 month"
  ExpiresByType video/ogg                 "access plus 1 month"
  ExpiresByType audio/ogg                 "access plus 1 month"
  ExpiresByType video/mp4                 "access plus 1 month"
  ExpiresByType video/webm                "access plus 1 month"

# HTC files  (css3pie)
  ExpiresByType text/x-component          "access plus 1 month"

# Webfonts
  ExpiresByType font/truetype             "access plus 1 month"
  ExpiresByType font/opentype             "access plus 1 month"
  ExpiresByType application/x-font-woff   "access plus 1 month"
  ExpiresByType image/svg+xml             "access plus 1 month"
  ExpiresByType application/vnd.ms-fontobject "access plus 1 month"

# CSS and JavaScript
  ExpiresByType text/css                  "access plus 1 year"
  ExpiresByType application/javascript    "access plus 1 year"
  ExpiresByType text/javascript           "access plus 1 year"

  <IfModule mod_headers.c>
    Header append Cache-Control "public"
  </IfModule>

</IfModule>

####Custom Rewrite Rules Start###
RewriteEngine on
RewriteBase /
RewriteCond $1 ^(index\.php)?$ [OR]
RewriteCond $1 \.(gif|jpg|css|js|png|ico)$ [NC,OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ - [S=1]
RewriteRule . /index.php [L]
####Custom Rewrite Rules End####

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #16 on: November 19, 2017, 02:10:10 AM »
This is hell crazy !!
Sometime it loads in 60 seconds?

*

MB Themes

Re: Publish Listing Page Loads very slow - Veronika
« Reply #17 on: November 19, 2017, 10:38:08 AM »
@Darwazo
What have you tested? it is showing page size 0B
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #18 on: November 20, 2017, 01:12:49 AM »
not sure why it was showing up 0 byte !! but I know Publish listing page loaded after long time....

Retested and result is .....9 + seconds - attached
As mentioned to you sometime its very slow !! goes in 30+ seconds ....and sometime it hardly takes 3/5 seconds...

Google analytics is showing up similar very slow results for this specific link since Nov. 01 2017. Prior to that results are good...

Confuse and wasted hell of time in sorting this out .....Pls help me in sorting out this high tech issue ..

thanks !!


*

MB Themes

Re: Publish Listing Page Loads very slow - Veronika
« Reply #19 on: November 20, 2017, 08:29:58 AM »
@Darwazo
It depends what server you choose. I.e. if I select Sweden, I got load time 1.3 seconds, but if I select Australia, I get 7 seconds, because servers of my hosting are in Europe.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Loma

  • ***
  • 69 posts
  • Loma
Re: Publish Listing Page Loads very slow - Veronika
« Reply #20 on: November 20, 2017, 12:26:53 PM »
i got this issue too, my website so slow when access to publish an ad page
i got this error message when enable debug

/home/public_html/oc-content/themes/veronika/functions.php on line 328

regard

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #21 on: November 20, 2017, 10:16:38 PM »
@Loma
Replace function.php with original one and things would be alright ;) ...and check speed and update me also ....

@ frosticek
Please check attached file.
You can see,  problem is  in November days :(....

Pls. suggest - what could be the reason !!

thanks !





*

MB Themes

Re: Publish Listing Page Loads very slow - Veronika
« Reply #22 on: November 21, 2017, 11:41:58 AM »
Create empty file in your root with name test.php and try to measure speed of this file. All delay will be caused by hosting and distance. You will know if this is caused by osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #23 on: November 24, 2017, 02:20:30 AM »
No Issues with server as per tests performed....I dont know what could go wrong with Osclass

Anyway out pls ? as there is triggering delay in accessing page.
I disabled almost all plugins and result still same :(

My best guess is " When CPU usage of my Host account is > 30% as per cpl , pages loading  is faster. But assume if CPU usage is 0% and I m trying to access, it takes a reasonable time to load...

Pls. suggest best possible options to solve this issue....

thanks


*

Ivanko

  • *****
  • 391 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #24 on: November 24, 2017, 03:18:56 AM »
in ......../mysqld.cnf uncomment this :
#general_log_file = /var/log/mysql/mysql.log
#general_log = 1

Be sure it will take extra resources, try to load you site and check the logs.
May be broken script is knocking  your sql hardly.

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #25 on: November 25, 2017, 10:20:09 PM »
Thank you Ivanko for time & input...

i'm newbie !! not really good enough to perform all testings....unless you help me out in steps

*

MB Themes

Re: Publish Listing Page Loads very slow - Veronika
« Reply #26 on: November 25, 2017, 10:59:15 PM »
You can simply enable osclass database debug mode, be logged in oc-admin and publish listing.
At bottom of page you will see all the queries and their load time.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #27 on: November 26, 2017, 12:58:45 AM »
I found these two lines in debug log file after performing debugging :

[26-Nov-2017 04:47:19 Asia/Karachi] PHP Notice:  Undefined variable: currency in /home/darwazoc/public_html/oc-content/themes/veronika/functions.php on line 721
[26-Nov-2017 04:47:34 Asia/Karachi] PHP Notice:  Undefined offset: 0 in /home/darwazoc/public_html/oc-content/themes/veronika/functions.php on line 1178

I have attached my functions.php as a text file is attached

Im not sure how to resolve these points.....
Though Currency looks okay to me but may be you pro opinion matters most.





*

MB Themes

Re: Publish Listing Page Loads very slow - Veronika
« Reply #28 on: November 26, 2017, 09:42:50 AM »
It is just notice.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Darwazo

  • ***
  • 81 posts
Re: Publish Listing Page Loads very slow - Veronika
« Reply #29 on: December 03, 2017, 02:44:52 AM »
@ frosticek

It looks category selection on Publish listing is a problem....

I guess FLAT SELECTION / ICONS may be and is slowing up page load !
Page is loading faster on drop downs !
What is your input on this?

https://darwazo.com/item/new

Same hosting site and different domain (which was also slow) but I changed it to Drop down is given below
https://howfa.ng/item/new

Kindly check this for me in terms of this context?
« Last Edit: December 03, 2017, 03:06:11 AM by Darwazo »