Jump to content
Welcome to our new Citrix community!

Front End Optimization - Minify Javascript not working?

Recommended Posts

Hi, has anyone any experience of using the 'Minify' feature in Front End Optimization?


If i create a FEO Action and bind it to a basic vServer representing a webpage some comments are removed but not all.

<!-- comment -->  is removed


// comment is not removed

/* comment */ is not removed even though they are both enclosed in <script></script>


Something like:

add feo action FEO-Comments 1 -cssMinify -jsMinify -htmlMinify
add feo policy FEO-Comments_Pol true FEO-Comments
bind lb vserver LBvSvr_BasicWebsite -policyName FEO-Comments_Pol -priority 100 -gotoPriorityExpression END -type REQUEST

Will produce a before and after as per the attached picture.


Is there a limitation of the feature or has anyone used an alternative to remove non-html comments?


Thanks very much!



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...