Jump to content

Setting compression and cache to "Yes" - defaults back to "No"


Recommended Posts

Hi,

 

We have finished building a PS 1.6 site with default template and are in the process of speeding things up.,

 

In Advanced parameters, every time we turn the following settings to "Yes/on", and click save, they default back to "No". Is this normal!? The paramaters that default back to off are - Smart cache, smart cache for javascript, compress/minimise html, compress/minimise javascript.

 

Thanks

Link to comment
Share on other sites

SOLVED. The problem with all 5 CCC settings was down to 2 versions for every setting in the Prestashop database. There must only be 1 version.

It seems a lot of PS 1.6 users are experiencing this, so here is the solution:

 

1. Access your prestashop database via phpmyadmin or similar.

2. Navigate to the table ps_configuration

3. Display all rows and sort by row "name" (this will help spotting duplicates)

4. Check the following 5 entries and delete any duplicates:

 

PS_JS_HTML_THEME_COMPRESSION

PS_JS_THEME_CACHE

PS_JS_DEFER

PS_CSS_THEME_CACHE

PS_HTML_THEME_COMPRESSION

 

5. Clear browser cache and empty prestashop cache (this is not necessary but will ensure that there are no caching issues)

6. Return to Prestashop adin Panel advanced parameters and reconfigure the CCC settings.

7. Hit "Save". This time your settings should be saved correctly

Edited by jeyjoo (see edit history)
  • Like 2
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...