Jump to content

Big cache files slows down my shop?


DDD

Recommended Posts

In general cache is a good thing, and you want more of it. Things that do not change frequently (javascript, css, images) should all be cached so that they do not need to be downloaded every page visit.

 

Let's take your store logo for instance. It appears on every single page, and is 11KB. Why would I want to download that image every single time I visit a new page on your site.

  • Like 1
Link to comment
Share on other sites

Hello DDD,

 

Thanks for the message. I'm wondering, Do you have combine compress and compile (CCC) turned on in your backoffice under Preferences- Performance?

 

That would definitely help if it's not turned on already.

 

Everything except High risk HTML compression is turned on.

Link to comment
Share on other sites

In general cache is a good thing, and you want more of it. Things that do not change frequently (javascript, css, images) should all be cached so that they do not need to be downloaded every page visit.

 

Let's take your store logo for instance. It appears on every single page, and is 11KB. Why would I want to download that image every single time I visit a new page on your site.

That sounds very wise... but since my logo IS loaded every time I visit a page... and it seems that javascripts and so on is the same, I wonder what is in those big cache-files?

And how can I cache the right things?

Link to comment
Share on other sites

Hello there!

 

I had a look into it for you, and noticed something rather shocking.

Looking at the pingdom output, your files weren't taking too long to download, but instead, there was over 2 seconds waiting on the server to retrieve them from the disk - Indicating a somewhat overloaded server.

So, I looked up the IP you're hosted on, and noticed that the server you're on is hosting at least another 26800 websites.

 

Caching generally means that files are generated and stored in a way that they can be quickly retrieved and loaded - But if the retrieval process itself is very slow, then your efforts are somewhat in vein.

The only other way to speed this up, a bit, would for the server to host your static files in RAM - But as they're hosting 26800 other websites, I highly doubt they'd agree to it.

 

A positive to take from this though, is that it isn't your fault by any means!

If I were you, I'd contact your host and politely ask them to move you onto a less congested server. If not, it might be time to jump ships onto another provider.

Link to comment
Share on other sites

Hello there!

 

I had a look into it for you, and noticed something rather shocking.

Looking at the pingdom output, your files weren't taking too long to download, but instead, there was over 2 seconds waiting on the server to retrieve them from the disk - Indicating a somewhat overloaded server.

So, I looked up the IP you're hosted on, and noticed that the server you're on is hosting at least another 26800 websites.

 

Caching generally means that files are generated and stored in a way that they can be quickly retrieved and loaded - But if the retrieval process itself is very slow, then your efforts are somewhat in vein.

The only other way to speed this up, a bit, would for the server to host your static files in RAM - But as they're hosting 26800 other websites, I highly doubt they'd agree to it.

 

A positive to take from this though, is that it isn't your fault by any means!

If I were you, I'd contact your host and politely ask them to move you onto a less congested server. If not, it might be time to jump ships onto another provider.

 

I've been in contact with my host and they say there's no problem with the servers. I also did test of my own and created the simplest possible webpage and then tested what speed I got on that.

 

With http://www.drakfiske.../speedtest.html I get a respons time of well under 0,5 seconds... usally around 150 ms.

 

So I can't blame it all on the host... there's something else slowing me down... ????

 

Can it be the database itself? Fast server but slow database?

Edited by DDD (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...