Removing whitespace from HTML with OptimizeASP.NETHe

Discussion in 'ASP.NET / ASP.NET Core' started by ghporras, Oct 28, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello...

    I have a site in .Net MVC 2 working in DiscountASP.Net.

    I´d like to remove the whitespace in my pages and I´m trying to doing with OptimizeASP.NET (http://optimizeasp.net/remove-whitespace-from-html).

    As I read in this article I did put the WebOptimizer.dll in my Bin folder and added this line in my Web.Config:
    <add name="RemoveWhitespaceModule" type="WebOptimizer.Modules.RemoveWhitespaceModule, WebOptimizer" />

    In my localhost (with VS2010) with works perfectly. All pages are "compressed" removing the whitespaces. But I upload my site and the pages in production has no one changes. You can verify the source of my home: http://tqmadrid.com/

    Some have installed the OptimizeASP.NET and / or removing the whitespace of html pages?

    Thanks!
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    any error?
     
  3. Nope...

    It simply dont works in production (DiscountAsp.Net)...

    Compare the code in my local enviroment (local.txt) and the production enviroment (prod.txt).

    The page is http://tqmadrid.com/Botin/1232/

    I follow the instructions and you can see the web.config and the OptimizaASP.Net in my bin folder.

    Thanks!
     

    Attached Files:

  4. Bruce

    Bruce DiscountASP.NET Staff

    Hmmm.. in general, if something doesn't work, it should throw some kind of error. I am not familiar with this component you are using. I recommend you contact the creator of this component to see what they recommend.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page