Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8681863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:37:06+00:00 2026-06-12T21:37:06+00:00

I am using JsMinFilter & CssMinFilter to compress all my CSS and JS files

  • 0

I am using JsMinFilter & CssMinFilter to compress all my CSS and JS files into one output file. This works fine for both, however the JS filter that I found a modified copy of somewhere, lets you keep important comments, e.g. copyright notices.

I know that there is a filter option for the CssMinFilter that can set the RemoveComments to false. However I can’t seem to find any information about where I set that option when I am using this with CakePHP (ver 2.2.2), any one know where? Do I put it in my AppController or is it another config file I have to make for it?

Also I do have access to SASS and I know that there should be a filter for the Asset Compress to use to build my SASS files into css and then output as one file again. The Wiki on the plugin page for the Asset Compress is not detailed about where I can get this or how to plug it into my site, like the CssMinFilter?

Many Thanks

Glenn.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:37:08+00:00Added an answer on June 12, 2026 at 9:37 pm

    OK got a answer to some of it! Still do not know about how to important a SASS filter into CakePHP, so I will keep looking at that.

    I have now moved to the YUI Compressor to do my CSS, which keeps all ‘!’ marked comments within the file.

    I also know that you can use this for the JavaScript, however when I do, it processes 6 errors when you add the Jquery and Jquery UI to the build, so for now I am still using the JsMinFilter.

    I will repost a new question about eh YUI Compressor issue with my Jquery build.

    Many Thanks

    Glenn.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using ASIHTTPRequest, I downloaded a zip file containing a folder with several audio files.
Using mercurial, I've run into an odd problem where a line from one committer
Using C#.NET, i wrote a toolbar which is stored now into toolbar.cs file. I
Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using CI for the first time and i'm smashing my head with this seemingly
Using the Redis info command, I am able to get all the stats of
Using this: $db = mysqli_connect ( $db_host, $db_user, $db_pwd ) or die (FATAL !
using a binary search tree I need to add to a vector all int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.