compress razor views

Sunday, December 29, 2024 3:08:38 AM
  • Posted: Monday, April 27, 2020 9:18 AM
  • 54
hi

how we can compress razor views or remove line breaks  ?

like this

<!DOCTYPE html><html lang=en><head><title>The most advanced ecommerce application</title><meta charset=utf-8><meta name=description content="GrandNode - Open Source NoSQL CMS eCommerce platform based on ASP.NET CORE and MongoDB. Is available for free. Flexibility, high performance, open source – your ecommerce. GrandNode gives you the ability to customize the store to your requirements without any restrictions."><meta name=keywords content="docker,free,asp.net core,shopping cart,mongodb shopping cart,mongodb ecommerce,open-source shopping cart,shopping cart,e-commerce,mongodb,ecommerce solution,open-source ecommerce,nosql ecommerce,bigdata ecommerce,asp.net,nosql ecommerce,nosql database,nosql grandnode,nosql,cms,core"><meta name=generator content=grandnode><meta name=viewport content="width=device-width, initial-scale=1.0, shrink-to-fit=no"><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new

to speed up loading time

Regards

yao
0
  • Posted: Monday, April 27, 2020 12:12 PM
  • 953
Hi Yao,

What about HTML minification in appsettings.json file?
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, April 28, 2020 2:46 PM
  • 54
Yes.i was looking for this option

thank you
0
back to top
Filters