When I check the source of my web pages I am appalled at the amount of Javascript links in the page, but I have disabled the CSS and JS compression as I am often in development mode.

Is there some way to disable the compression for admins and developers and enable it only for viewers?

  • This may not be the feedback you're looking for, but does "as I am often in development mode" mean that you develop on the production server? This is just one of many good reasons to set up a separate (local) development server. Dec 21 '16 at 22:53
  • It is for a personal blog.
    – vfclists
    Dec 22 '16 at 3:50

You're looking for AdvAgg. If the user has the correct permissons you can add ?advagg=-1 to the URL and all CSS/JS files are un-aggregated for that page request. You can also set a cookie on the admin/config/development/performance/advagg/operations page so you no longer need to add that to every URL.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.