Topic: minify temp

Hi, how can i remove the /tmp minify?

pagespeed hate this file:
tmp/minify/frontend_site.minify.css?70

and if i comment it in "theme.default.minify.header.chunk.php" after i change something in css, the system back to show it again....

thank you so much
Mauro

Re: minify temp

The problem is the query string on the end of the URI.

In this case ?70

Google PageSpeed does _hate this_ indeed.

I've looked at this. You can change the default behavior but it will require changing core Monstra files. It will be overwritten when you update, so it isn't a good idea. But...

Line 127 of engine/Plugin/Stylesheet.php is:

echo ''."\n";

You can change it to:

echo ''."\n";

and line 62:

$frontend_site_css_path = MINIFY . DS . 'frontend_site.minify.'.Option::get('styles_version').'.css';

You should probably System -> Settings -> Delete Temporary Files

Again, I'd advise against it.



You might be right to want to do it though.

http://www.stevesouders.com/blog/2008/0 … erystring/

monstrahost's Website