PHP Classes

How to remove comments in CSS/HTML Apache served pages?

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  How to remove comments in CSS/HTML...  
Subject:How to remove comments in CSS/HTML...
Summary:I need to remove comments for an Apache+PHP server served pages
Messages:1
Author:Rafael Linux User
Date:2018-10-05 09:46:32
Update:2018-12-30 03:12:28
 

  1. How to remove comments in CSS/HTML...   Reply   Report abuse  
Picture of Rafael Linux User Rafael Linux User - 2018-12-30 03:12:28
Hello

I'm looking for some way to remove comments from HTML/CSS pages before being served by Apache. I found in Apache Incubator a way to do that, but it doesn't respect CDATA commented code, so is not a solution.

Please, is there any class to do this?

Thank you