Jump to content

Problem with ccc activate


svapodream

Recommended Posts

Good morning. I have a problem when I activate the ccc option on both css and js.
Basically when you activate the two options the site speeds up a lot but I don't see some css changes I had made to a module. I'll post two pictures to make you understand.

As you can see from the second image, those colors are the default of the theme.
I tried to clear the cache but the problem is not solved.

 

 

 

425816275_currentlyso.thumb.png.e6d916710eaf9f445ff552b5e85b3992.pngwith_ccc_activated.thumb.png.b4e619037b327829e0621881a8c129ea.png

Link to comment
Share on other sites

Hello, Can you open the compress css via browser tab and check the css in exits or not.

. If css exits in compress file in that case their may be css error in the css file. may be some css bracket is not close or invalid code break the css and not allow to run your modified code.

Or if the css is not exits in that case clear all level of css from Perfromace, what Mikeey suggest /var/cache/dev & /var/cache/prod ? , browser cache and check

 

hope the issue will solved

 

Thank you

Link to comment
Share on other sites

The rules are present in the compressed file and are correct.
One thing I noticed and that what he doesn't take as priority rules are those of a css file (configCss.css) that is present in the theme configurator module. Since it does not read those rules, it uses by default those of the custom.css file and therefore I see the default colors

Link to comment
Share on other sites

note:  to see if CCC is useful, check that the CCC of .js and .css files have the same across all pages, index/cat/product.  If they are not the same across these different pages then you are better off not using CCC just ensure you have mod_expires....

else you will load redundant data for each page type.

one CCC of .js/.css file across all pages was BIG NEW FEATURE in 1.7, but due to lack of verification by addons, poor development of modules/themes..they broke it...it's a shame

here is module we wrote to fix CCC of .css, we could not serialize .js so could not fix.

https://addons.prestashop.com/en/website-performance/50624-front-end-css-performance-one-css-ccc-all-shop-pages.html

sad how this important feature was broken

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