Page loading issue with wordpress - php

My system is in wordpress -php.
Home page load so many images from third party server(itunes store) . It's take to long time in page load.
Can anybody guide me how to resolve this problem Like we first load all the contents and then after load all images.
At least customers can see the page with content.

Have you installed a Cache plugin on your wordpress like W3 Total Cache?
http://wordpress.org/extend/plugins/w3-total-cache/
If not, you can try to use Ajax to load your images from third party, then your content will be shown directly and your third party images will load without slowing the loading of the content.
Check this : http://api.jquery.com/load/ (Don't forget to use Jquery.noconflict() )
Or you can try this plugin : http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

Honestly when you are depending on third party for piece of content page loading time will be always a issue. I will recommend you to use breeze cache plugin as well as multi regional WordPress Hosting which eventually help your website load basics elements from cache. Secondly closely watch out for rending issue because many WordPress website delay are just because of few lines of code mysteriously typed which can be tested on pingdom or page insight. All the best mate. Cheers

Related

How to reduce Wordpress post loading time (Single post)

I have some post in the wordpress website which has a lot of content. I have a post which is taking 30-35 second to load. Content of that page is coming from a single post and includes lot of shortcodes. Problem is I am not able to reduce the loading time which is most challenging for me. I used custom lazy loader but no luck. Any suggestions/recommendation will be highly appreciated.
I have resolved the problem by improving the code. There was some problem in amazon api which we created it. And if you hit amazon server again and again it will block your ip address. So to prevent for that there was sleep() function added which send the request to amazon after few second. I remove that one and it is working perfectly.
First off I suggest using a CDN. A good one that I use is Stackpath
Then I would also use Cloudflare
Finally and once signed up for these 2 I would follow this 2017 updated blog post
Another suggestion is to install the kraken.io plugin and signup for this as well buddy.
All of these together will speed up the entire website.

How to improve page load performance of the Wordpress website?

I am creating web portal in WordPress for that I am using i-craft WordPress theme. But my website page loading very slow at initial load that is before loading of all content. Its taking 8 - 10 sec to initial load. I know this is happening due to lots php code with lots of functions and loops. I want to remove all unnecessary code or php file. As my website belongs to only single theme and I don't want to add post functionality etc. so which file/php code/information in database I have to remove that will helps website to load initially faster. Or is there any way to make loading very fast without removing code or files.
You can use
https://gtmetrix.com
on here you can check your site analytic report .and you want to do minify your css and js file.and also images .

Insert HTML/php file into SharePoint 2010 master page

I've been searching high and low for an answer to this. Hopefully I'm missing something obvious.
In a SharePoint 2010 master page, how can I call to a centralized file to load code into the master page? My problem -- I've been tasked with creating a way of having navigation load from one central file to be loaded on several different site collections's master pages. This needs to be html, and not the typical SP navigation, as I'm using a jquery megamenu solution.
I got this to successfully load with javascript but maybe because I'm using a megamenu with jquery dropdown, it slowed the page load to a complete crawl. I considered a CEWP but don't think i'll be able to strip out all the CSS to make it load seamlessly - although this might be the way I have to go.
I'm hoping for a workaround with the php include command. Thanks in advance for any help!
You can't run PHP on a SharePoint site. You can however, create a web part or other C# code to include on your master page to render your menu. A jQuery solution should work as well. If it's slowing your page load down, maybe you should create your menu after the document is ready.

How can I redirect based on geographical location with W3 Total Cache enabled?

Using WordPress Multi-site install and W3 Total Cache with hosting on Amazon EC2, I want to create a redirect for one set of pages based on the geolocation of user.
To be more clear: I have one US content page, and one non-US content page. If someone in the US visits the non-US page they should be redirected, and vise versa, if someone from Canada visits the US page they should be redirected.
I am open to using a service in my hosting environment, another plug in for WordPress (as long as it doesn't affect the W3 Total Cache) or something that requires a coded solution.
#andrew If you use a structure like:
domain.com/us/page
domain.com/global/page
these are then separate pages and will be cached separately.
Make sure that W3 isn't caching your geotargeting plugin's redirect script as it often causes problems (turn minification of js off to test).
You can also exclude pages from being cached by adding it to the exclude list in W3's admin area.
You may want to consider something like this.
http://wordpress.org/extend/plugins/geographical-redirect/
or
http://wordpress.org/extend/plugins/source-redirect-site/
or
http://codecanyon.net/item/wp-geoip-country-redirect/3589163
Or you can make your own using:
http://www.maxmind.com/en/country

If the client accepts the plugin, can I know his navigation?

I'm trying to make a page divided in 2 frames. One that shows an external page... a shop for example,and other(mine) that offers related content to what is being shown in the external page.
I've been searching how to know the URL of the frame, but it can't be done due to security reasons(XSS, clickjacking, etc).
But I know it has to be one way to know it. I recently read that some plugins like the facebook's, have the ability to know where the client is while he is navigating.
I hope that my intention is clear. Do you know if this is possible?
Without having the site's owner install some JS on their site, you will find it very hard to find a cross-browser way to do this. FB do have people include a script and this is how they are able to access information cross domain.
You may be able to create plugins to do this, however you will have to create one per browser.

Categories