Site not working on IE or Safari after SquishIt

135 views
Skip to first unread message

Jake Drew

unread,
Apr 29, 2013, 1:42:34 AM4/29/13
to squi...@googlegroups.com
I have two questions.  I was excited about using SquishIt to improve my site's performance. The site is ASP.NET and works fine on using SquishIt on the localhost.  However, when I publish the site and load it to my webhost, the bundles never resolve to the combined file as if debug mode = true, but I do have it disabled.  I finally gave up on this issue and manually included combined css and js tags in my page.  Unfortunately, now the site only displays correctly in Chrome or FF.  IE 10 and Safari (desktop and mobile) either do not work or display gibberish.  

Please feel free to take a look for yourself.  

You can also see that the site does behave correctly in all browsers before being squished...

I am a little disappointed in the documentation I found here:

I feel like two simple demo projects (one for MVC and one for ASP.NET) available for download would be very helpful.  Maybe you have this and I am not looking in the correct place?  

Any help would be greatly appreciated as I would enjoy using using this package. 

Alex Ullrich

unread,
Apr 30, 2013, 8:21:41 AM4/30/13
to squi...@googlegroups.com
When I run your combined file through http://csslint.net I get one error that is not present when running the content of the two files linked in the working site.  Something about a missing right brace, I encourage you to look for yourself.

This *might* be the result of minifying twice.  Instead of using the .Add method, try using .AddMinified to include your bootstrap files.  This will bypass minification for those files and hopefully resolve your issue.

If this doesn't work please reply with your bundle setup code.

Hope this helps,

Alex

Jake Drew

unread,
Apr 30, 2013, 8:52:45 AM4/30/13
to squi...@googlegroups.com
This is great! Thank you so much :) I will try your changes and get back to you!

Sent from my iPhone
--
You received this message because you are subscribed to a topic in the Google Groups "SquishIt" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/squishit/SNsZYFU4bog/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to squishit+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages