Jump to content

Archived

This topic is now archived and is closed to further replies.

Bretthammer

Pageload, Caching, Javascript, CSS issue

Recommended Posts

Bretthammer

Hello, I´m a pagelines DMS Wordpress site owner. Basically, I love working with DMS, but there are recurring problems and no freelancers or hosting support has been able to help us.

 For months this problem makes us tired! Maybe you know a solution. I try to describe it, but it's not simply because no one knows where the issue is.

When you take a look on the attached files, it looks like the template is deactivated, it happens again and again and we dont know why.

There is also a caching issue in GT Metrix to find, we optimized the images by half but it hasnt changed in total page size . The page has still the same size in GT Metrix and also in tools.pingdom. 

we disabled the caching plugin but issues still there. This is very bad for our clients and also bad for ranking in google. 

issue.jpg

issue loading The Week Shop.jpg

GT Metrix.jpg

Share this post


Link to post
Share on other sites
Simon

OK lets have a look at your site.

Tracing your IP it shows you are on godaddy with 4 other sites, is this a dedicated server, a VPS or shared hosting?

Do you have the ability to change the PHP version? php5.4 is very old and is now EOL. 5.5 and 5.6 offer better speed and smaller memory footprint.

browser caching and gzip compression is something you can add via the htaccess file if your server config permits it.

The no css issue is caused by your cache plugin, you view a cached page when the css file has been updated so the urls do not match, trick is to use a minimal TTL for cached pages like 30 seconds, then if you get a spike in traffic you get a cached page.

Whats your daily unique traffic? unless you are getting more than 1 request per second caching is overkill.

What plugin were you using?

 

Share this post


Link to post
Share on other sites
Bretthammer

Hello Simon, 

thank you very much for your message. 

We are on godaddy, thats right and we have a hosting package where we can host multiple websites! 

It is currently 60% of hosting occupied memory, that should be fine.

Do you have the ability to change the PHP version? php5.4 is very old and is now EOL. 5.5 and 5.6 offer better speed and smaller memory footprint. --> this I have to ask the Godaddy support! 

browser caching and gzip compression is something you can add via the htaccess file if your server config permits it.  --> how can I do this? I´m not a coding specialist or developer thats why I using DMS :-)

The no css issue is caused by your cache plugin, you view a cached page when the css file has been updated so the urls do not match, trick is to use a minimal TTL for cached pages like 30 seconds, then if you get a spike in traffic you get a cached page. --> cache plugin is already disabled and deleted from the backend of theweekshop.com.  We deleted days ago, because Danny told me this could be the issue.

Whats your daily unique traffic?  We have at the moment 50-150 average visitors per day. But we started with SEO and the next weeks will do campains and google Adwords, thats why the site must run 100% 

What plugin were you using? --> attached

BTW, I sent Danny login details of our wordpress site to go deeper...

Plugins.jpg

Plugins 2.jpg

Plguins 3.jpg

Share this post


Link to post
Share on other sites
Simon

browser caching and gzip compression is something you can add via the htaccess file if your server config permits it.  --> how can I do this? I´m not a coding specialist or developer thats why I using DMS :-)

This totally depends on the server setup, I cant just give you a solution that works for everyone.

https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#safe=off&q=leverage+browser+caching+wordpress+htaccess 

Share this post


Link to post
Share on other sites
Bretthammer

Hi Simon,

Danny told me you sent me a message! But I cant see it

Share this post


Link to post
Share on other sites
abuzzelli

I've struggled with this same caching issue and the CSS being messed up. The only thing that fixes it is to manually go into the site and clear the cache, but this is a real pain. I'd love to know what the solution is. I use Zen Cache, but is there a better caching plugin for DMS?

Share this post


Link to post
Share on other sites
Bretthammer

Hi Simon,

Do you have the ability to change the PHP version? php5.4 is very old and is now EOL. 5.5 and 5.6 offer better speed and smaller memory footprint. --> PHP is now by 5.5, the highest they have.

browser caching and gzip compression is something you can add via the htaccess file if your server config permits it.

https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#safe=off&q=leverage+browser+caching+wordpress+htaccess  --> Godaddy cant do that for me, they are not able to do that and I´m also not able....

 

Share this post


Link to post
Share on other sites
Simon

You are not able to edit the htaccess file? Or they wont do it for you?

Share this post


Link to post
Share on other sites
Bretthammer

I´m not able to edit the htaccess, I never changed something in the cPanel, and I´m scared of it. 

Godaddy is not allowed to carry out such a thing.

Share this post


Link to post
Share on other sites
Simon

Maybe it would make sense to to changed to a host that already offers optimization such as wpengine or flywheel if you are afraid to edit any files.

Share this post


Link to post
Share on other sites
Bretthammer

I´m not sure, because we host all our domains with Godaddy, it would be a lot of work to move all website. I thought Godady is one of the best :-( 

You cant do that for me? Thats why I joined the Pagelines Club to get the best help. After one year using DMS we had only problems, nobody could help, no support no freelancer. We paid a lot of money for nothing. That takes a lot of fun to work with it :-/

Share this post


Link to post
Share on other sites
Simon

DMS is a WordPress theme framework, like any other WordPress theme.

To enable browser compression and set expires on images, css and javascript you have to make a server configuration change, this can normally be done by editing your .htaccess file if you are using Apache or in your nginx.conf file if using Nginx.

Adding expires is as easy as adding the following:

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##

Compression is a bit more technical: https://varvy.com/pagespeed/enable-compression.html

Im sure there is a wordpress plugin that could probably add this for you.

Share this post


Link to post
Share on other sites

×