3

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?

2
  • 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. Commented Dec 21, 2016 at 22:53
  • It is for a personal blog.
    – vfclists
    Commented Dec 22, 2016 at 3:50

1 Answer 1

6

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.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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