Jump to content

Social sharing caching problem


Spark111

Recommended Posts

Hi,

 

In cache/smarty/cache/socialsharing_header  I have more than 1600 files and more than 13000 subdirectories.

 

I wonder if this is necessary.

Every subdirectory datestamp shows a recent update.

That amount of cached files cannot by good for speed?

 

Any clues why this is? And how to improve on this?

 

Thanks.

 

Link to comment
Share on other sites

  • 3 months later...

I have no idea why you'd have so many cached files in that directory. You can certainly delete any files from your cache/smarty/cache directory (except index.php) and they should be automatically regenerated. Hopefully, there will be fewer files than you have currently.

Link to comment
Share on other sites

Thanks.

I did some further investigation. I measured more than 1600 files in more than 16000 folders.

Which can be accurate after all. We have just about 1600 products.

If you need to define the directory structure for product #138 you need /cache//1/3/8/

 

It's just crazy to make a cache entry for every product page, but hey, that's the smarty structure. I suppose the product id needs to be cached as well, which makes these pages unique.

 

IOW: It turned out to be a non-issue. Thanks for your reply anyway.

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...