Jump to content

Smart cache CSS / Java not working?


Recommended Posts

We are on Prestashop 1.6.0.9., default theme,

URL : www.derks-wielersport.nl

Performance settings:
Smart cache for CSS, Smart cache for JavaScript, Minify HTML, Compress inline JavaScript in HTML, Move JavaScript to the end, Apache optimization,  all Yes. Recompile template only when changed.

Pages cached.

 

Use of Pagespeed Insights reports 4 CSS not combined and 3 java not combined.  Following tips on elswere this forum CSS was validated and parse error found.

 

 

I'm getting an odd error from the W3C CSS Validator and wonder if anyone
here can clue me in.

 

Parse Error 

 

 

After disabeling 2 modules mentioned in  Pagespeed Insights and testing W3C CSS Validator we did get following error:  Lexical error at line 1, column 33. Encountered: "?" (63), after : "" /???09e797cb3700530a4f55765eeb8fd396_all.css

 

With this result in Pagespeed Insight:

 

 

 

And could I take it from here?

 

 

Peter

 

 

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

"Use of Pagespeed Insights reports 4 CSS not combined and 3 java not combined. "

 

 

you can right click front office and review your .js and .css (you will see  theme/cache/some value.js/.css  these are your CCC'ed.

 

for other orphan .css/.js this is 'always' a result of lazy theme/module developer, in that they hard code calls and bypass native PrestaShop handling of .css/.js files.

 

I tried visiting your shop but it does not load.

Link to comment
Share on other sites

"Use of Pagespeed Insights reports 4 CSS not combined and 3 java not combined. "

 

 

you can right click front office and review your .js and .css (you will see  theme/cache/some value.js/.css  these are your CCC'ed.

 

for other orphan .css/.js this is 'always' a result of lazy theme/module developer, in that they hard code calls and bypass native PrestaShop handling of .css/.js files.

 

I tried visiting your shop but it does not load.

 

Heya El Patron,

 

Thank you for your opinion.

 

We contacted the developers of subject modules  (  bought via Prestashop add-ons  ;)  )  to resolve this point. Solved in the mean time. That's good.

 

However Pagespeed insight reports now ( see below), Could this related to Prestashop ?

Thank you,

 

Peter

 

Pagespeed Insight;

This must be corrected:

Remove JavaScript and CSS content above the fold  that blocks viewing:

 

Your page has one blocking CSS resources. This causes delay in the display of your page.

None of the content above the fold on your page can be displayed without waiting for the following resources are loaded. Try to postpone blocking sources or load asynchronously or parsing the main content of those sources directly into the HTML.

 

Optimize the CSS display for the following URLs:

 

http://www.derks-wielersport.nl/public_html/themes/default-bootstrap/cache/V_196_4a72a0a966f19143f4447cb789924543_all.css

 

 

 

 

 

 

 

Link to comment
Share on other sites

×
×
  • Create New...