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

mikeytown2’s picture

Would 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 file

$conf['advagg_show_bypass_cookie_message'] = FALSE;

You 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".

fox_01’s picture

Status: Active » Closed (works as designed)

Great that not exactly what was i was looking for but i will work for my situation.

Thanks

fox_01’s picture

Category: Feature request » Support request
fox_01’s picture

Status: Closed (works as designed) » Active

I'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.

mikeytown2’s picture

Here's a demo of it working https://www.youtube.com/watch?v=BURXNEUagIQ Help me reproduce the bug you're encountering.

fox_01’s picture

Status: Active » Fixed

Thanks for your help. Today it worked. I think it could have been a caching problem in my site.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.