From: Gary Cunningham-L. <ga...@cu...> - 2010-01-29 14:58:35
|
Hi, Stephane Casset wrote: > Le Thu, Jan 28, 2010 at 09:39:46PM -0500, Marc Laporte écrivait : >> Hi! >> >> Each Tiki version, we improve various things for performance. > > Cool. > >> Recently: minify js (Tiki4) and minify CSS (Tiki5). This has a huge >> impact because it improves the score on "Minify JavaScript and CSS" >> but also "Make fewer HTTP requests". > > Ok I have some pb with this : > o when you minify the CSS all the url > are broken in the CSS I don't see that happening. I have minified css activated in my localhost (CSS url is http://localhost/TikiWiki/trunk/temp/public/minified_9ea0504b26f83cb764ddcf21239eacfd.css), and the CSS background image urls are ok. > > Also it should be possible to concatenate the JS and CSS in one file > each without minifying it... > > As an example : in strasa.css we have line like this : > background: url(strasa/arrows-a2ecff.png) no-repeat -10px -100px; > But now the css is somewhere else and the image is not found :( My strasa menu arrows are displaying fine. Is there a difference in servers or Tiki path that accounts for this? > > I have request like this : > http://localhost/tiki_trunk/temp/public/pt/svn/tiki_trunk/lib/jquery/colorbox/styles/images/overlay.png > > My tiki is at http://localhost/tiki_trunk/ > so the part temp/public/pt/svn/tiki_trunk is probabily not the one I > need... LPH any idea ? My overlay.png url in the stylesheet is /TikiWiki/trunk/lib/jquery/colorbox/styles/images/overlay.png still relative to the localhost web root, so is displaying fine still. -- Gary |