Jump to content

Can I delete cache via FTP?


Recommended Posts

Hello everybody,

 

I have a question for anyone who can answer me. Maybe what I am going to ask is obvious, but in front of the doubt, it is better seeking different opinions.

 

I run a store on Prestashop 1.5.4.1 and I am annoyed for the large size of its cache.

 

This is the configuration I use under Anvanced Parameters -> Performance:

 

Smarty: Recompile templates if files have been updated; Cache ON.

 

Optional features disabled.

 

CCC: Use CCC for CSS, use CCC for JavaScript, Minify HTML, Compress inline JavaScript and Apache optimization ON.

 

Caching: Use Cache ON and FileSystem.

 

When looking the folders with an FTP client, I see the following:

 

public_html/cache/cachefs = no index and 16 folders with plenty of subfolders and cached files.

 

public_html/cache/smarty with an index files and two more folders:

 

/cache

 

/compile. In

 

public_html/cache/smarty/cache an index file and 12 subfolders (example: /blockadvertising, /blockcategories, etc).

 

In public_html/cache/smarty/compile an index and dozens of subfolders of the type /1a /1b /1c, etc with more subfolders in them and a cached file in the last level one.

 

Now the question: can I delete the content of public_html/cache/cachefs, public_html/cache/smarty/cache & public_html/cache/smarty/compile ?

 

Can I delete all the subfolders and its content (except the index files) in the main folders with no harm for my store?

 

I just need to know it because I make a monthly security copy of my site using an FTP client and a half of the FTP time is spent downloading the cache.

 

Thanks in advance for your help.

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