Website speed slow
This topic contains 5 replies, has 3 voices, and was last updated by Kiran 5 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Slow speed
-
AuthorPosts
-
October 22, 2019 at 1:36 am #514217
Hi
Our site is slow. While this post is NOT to blame wpgeodirectory, I am trying to find possible reasons and improving each one of them wherever possible.
Google Ad sense is top speed spoiler and WPGeodirectory seems to be second.
About current setup:
Using one of the best hosting: WPEngine
Using Cloudflare for CDN and DNS
Using WP Fastest Cache premium version integrated with Cloudflare CDN
All plugins are updated regularly.
Cache is cleaned and CSS/Js minified every 24 hours.
Images are compresses / optimized
Theme best practices followed (EXTRA theme by elegantthemes.com)Following are the recommendation by page speed tests (related to wpgeodirectory and fontawesome which was installed for wpgeodirectory)
1. Put CSS before blocking JS
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/leaflet.css?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/routing/leaflet-routing-machine.css?ver=2.0.0.67
https://fonts.googleapis.com/css?family=Roboto:300,400,500&lang=en
https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,latin-ext2. Combine CSS files
https://xxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/leaflet.css?ver=2.0.0.67
https://xxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/routing/leaflet-routing-machine.css?ver=2.0.0.673. Improve time to first byte (TTFB)
https://use.fontawesome.com/releases/v5.11.2/css/all.css?wpfas=true
https://use.fontawesome.com/releases/v5.11.2/css/v4-shims.css?wpfas=true
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/leaflet.css?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/routing/leaflet-routing-machine.css?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/leaflet.min.js?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/osm.geocode.min.js?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/leaflet/routing/leaflet-routing-machine.min.js?ver=2.0.0.67
https://xxxxx.xxx/wp-content/plugins/geodirectory/assets/jawj/oms-leaflet.min.js?ver=2.0.0.674. Improve initial connection time
https://use.fontawesome.com/releases/v5.11.2/css/all.css?wpfas=true
https://maps.google.com/maps/api/js?language=en&key=****************************&libraries=places&ver=5.2.4October 22, 2019 at 1:37 am #514218This reply has been marked as private.October 22, 2019 at 7:57 am #514244Hello,
We have a page about performance here:
https://wpgeodirectory.com/docs-v2/faq/performance/It sounds like you have covered all the setup that plugins can do for you.
Have you considered contacting a GD Expert?
October 22, 2019 at 8:41 am #514253Thanks Alex. I had seen the performance page and done all wherever possible.
Though I could improve TTFB (time to first byte) but still it is about 4-7 seconds which is high.
Can you tell us:
1. Can we make settings the fontawesome loads only on wpgeodirectory pages and not on all the pages.
2. The files in folder /wp-content/plugins/geodirectory/assets/leaflet are loading (as mentioned in my first post above) in home page. Can we restrict them to load only on pages used by (defined in) wpgeodirectory.
October 23, 2019 at 8:31 pm #514488Awaiting some response on my last post with two queries
October 24, 2019 at 11:01 am #514563Hi suvadel,
1. Can we make settings the fontawesome loads only on wpgeodirectory pages and not on all the pages.
Via wp_dequeue_script() & wp_dequeue_style() you can remove loading of
fontawesome on some pages, but it make cause issue on some pages where GD shortcode/widget is used.2. The files in folder /wp-content/plugins/geodirectory/assets/leaflet are loading (as mentioned in my first post above) in home page. Can we restrict them to load only on pages used by (defined in) wpgeodirectory.
If you force to load Google map API from GeoDirectory > Settings > Map API > Google map then it may not load leaflet script/styles.
Regards,
Kiran -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket