Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have a ability to exclude a user role from serving the aggregated versions of css and js. That would be a great benefit in a development szenario if you want to have the aggregation enabled for all non admins. Its not enough to clear the aggregation cache with every page load for the admin role because i'm using omega 4 with the livereload feature that don't support by design aggregated files.
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedWould the advagg bypass cookie be enough? Go to
admin/config/development/performance/advagg/operations
and under "Aggregation Bypass Cookie" you can set how long you wish to bypass cookie to last. This will then display a message letting you know that the bypass cookie has been set. You can disable this message by adding this to your settings.php fileYou can also add
?advagg=0
to the URL to get the same affect (requires the "bypass advanced aggregation" permission).There is also development mode which will scan all CSS/JS files and rebuild the aggregates after every page load. Go to
admin/config/development/performance/advagg
and select Development under "AdvAgg Cache Settings".Comment #2
fox_01 CreditAttribution: fox_01 commentedGreat that not exactly what was i was looking for but i will work for my situation.
Thanks
Comment #3
fox_01 CreditAttribution: fox_01 commentedComment #4
fox_01 CreditAttribution: fox_01 commentedI've set the cookie but cant get the setting working. I still see the agregated files in my header section and there is no message showing up.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedHere's a demo of it working https://www.youtube.com/watch?v=BURXNEUagIQ Help me reproduce the bug you're encountering.
Comment #6
fox_01 CreditAttribution: fox_01 commentedThanks for your help. Today it worked. I think it could have been a caching problem in my site.