Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help Speeding Up Website & Understanding Content in Cpanel

Featured Replies

Hi Guys,

Let me start by declaring that I'm just a kid trying to self teach myself wordpress, simply because I enjoy it as a hobby. This is my first ever website, so constructive criticism in easy-to-understand terms is welcome! 

I have made a website advertising myself as a web developer. Let me remind you I'm just doing this as a hobby for friends and family - so don't expect the website to be anywhere near the standard of a professional designer!!!

I think I have just about finished the website, however there are a couple of issues that I would like to clear up that I don't understand. 

Website: magnifiweb.co.uk

1. When I am on the website and switching to and from the different navigation pages it loads very quickly. However, when I haven't been on the website for a few hours and load it up by typing 'magnifiweb.co.uk' into the URL, it can take at least 5 seconds to load the home page. I have used some speed test websites like Pingdom, and it says that the wait time is mainly down to the URL 'waiting'. I have absolutely no redirects set up to slow this process down, so can't understand why only sometimes it can take this long to load. 

 

2. Using the same Pingdom speed test website (see attached image), there is an image called 'logooriginalwhitebg150px-150x150.jpg' I have circled this in red. This is an OLD image that I decided to remove from my Wordpress media library and and not use anymore. I navigated to the location of this image in my File Manager in Cpanel and deleted it from the folder as well - but for some reason it keeps coming back! Every time I go and check that folder in cpanel the same image has come back on it's own. Very frustrating.

 

Any advice on these matters is greatly appreciated!

pingdom.jpg

Edited by Noob

Hi,

I'm no WordPress expert, many around here are and would know platform specific issues but i do know a thing or two about general speed and stuff. The problems reported by Pingdom are also reflected by Google PageSpeed Insights.

The main concept I found useful is to divide your css and js into 'critical' which is required to shape the page and 'action based' which is js and css which are used on an interaction, e.g. validation js is not required to view the form it's only used to validate a submission or a lightbox gallery is only required when a visitor clicks to open.

Once done you inline critical css in the head with noscript to the action based css and then load the rest with js in the foot of the page. A simple but handy script I found for this is as follows;

<script type="text/javascript">
function loadjscssfile(filename, filetype){ 
	if(filetype=="js"){ var fileref=document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("src", filename); fileref.setAttribute("charset", "utf-8"); }
	if(filetype=="css"){ var fileref=document.createElement('link'); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", filename); }
	if(typeof fileref!="undefined") { document.getElementsByTagName("head")[0].appendChild(fileref); }
}
loadjscssfile("/js/action.js", "js");
loadjscssfile("/css/action.css", "css");
</script>

With regards to the initial load, could be the server itself being slow or it could be something WordPress is doing before it returns the page. WordPress experts can help if it's that but a good test for a server is to upload a simple html only page and then speed test it, if that is fine then try again with a simple php page with something simple like;

<?php echo $_SERVER['REQUEST_URI']; ?>

This should see if it's the server speed processing php that is at fault. 

As for the image, no idea mate. Normally if you delete something it's gone, not sure if WordPress has some safeguard which modifies delete permissions.

Hope some of this helps :)

500 kb of icomoon seems a touch overboard :) not really used it but i thought you could subset it into using only the icons you need?

If you are on shared history with a whole load of other site you have to wait your turn and may be slowing things down. It also depends on how quickly the local nameservers respond and even how good your isp.

Also reconsider not using third party resources (like iconmoon or prettyphoto) as they can slow things down.

  • Author
1 hour ago, davep said:

500 kb of icomoon seems a touch overboard :) not really used it but i thought you could subset it into using only the icons you need?

 

14 minutes ago, fisicx said:

Also reconsider not using third party resources (like iconmoon or prettyphoto) as they can slow things down.

Thanks guys. I haven’t purposely used anything called iconmoon so I’m guessing it must be part of the theme? I don’t feel like that’s a primary cause of it loading up slow when I haven’t visited the site for a while though, as the issue was there even before I had any content on the homepage. So it sounds like it could potentially be more of a server issue. Any recommended hosts for shared hosting? As I’m doing it just as a hobby I obviously don’t want the cost of the dedicated Host packages! 

 

Thanks ?

  • Author

Here is another test I just did, with it taking over 15 seconds! Something not right here it seems and the content doesn't appear to be related to the issue at all...

Slowwebsite.jpg

It's you or your ISP. It loads in under two seconds for me.

However...

The theme isn't very good. There are all sorts of layout and CSS issues. Reduce your browser width and you will see some of the problems.

  • 4 months later...

Well done for giving it a go. Web Design can be a very challenging but also rewarding hobby.

The first time I loaded your site it was very slow. I ran the Pingdom test and the result was about 7 seconds. I have performed another Pingdom test and your site loaded in less than 3 seconds. I believe the host is the problem. 

I also note that you are using Visual Composer for WordPress. If you are using a page builder is there any need for the theme? You could use a lightweight basic theme although I do believe the server is the issue.

A few other things you may want to think about. Your site only uses 2 colours, green and white. There is a lot of white space. In your logo, you also have blue, it may be worth thinking of adding the blue to some elements to break up the green and white.

The images at the top of the pages don't stand out much.  Have you tried these as full width?

Have you tried to use some backgrounds colours to some of the sections to break up the design? 

I think you have made a start, and with a bit more time and practice could produce some nice websites.  

Is your service £29pm a real service you have sold to anyone or just something you have made up for designing this site?

My personal recommendation for web hosting is Siteground, whats your budget? How much do you already pay?

All the best

Vince

 

 

magnifiweb.JPG

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.