Closed (won't fix)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.15
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2015 at 08:27 UTC
Updated:
12 Sep 2015 at 00:33 UTC
Jump to comment: Most recent
Comments
Comment #2
mikeytown2 commentedWould the Aggregation Bypass Cookie on the
admin/config/development/performance/advagg/operationspage work in this case, set it to 1 year?Comment #3
supermoos commentedWell no not really. The cookie would need to be automatically set somehow at least. Otherwise, all new users would need access to the performance backend to set this cookie. The cookie thing seems like a hacky solution. Also the cookie seems to have no effect on my system. Could it be because I am using a Redis cache store?
Comment #4
mikeytown2 commentedhttps://www.drupal.org/sandbox/alanmackenzie/2135127 might be what you're looking for.
Enable the module and then use these settings.
This will disable css/js aggregration if the user doesn't have the anonymous user role. To do exactly what you want I'd change the module so it looks like this (remove `!` from the last if statement).
And then use this in your settings.php
Comment #5
supermoos commentedThis seems to work great :-) Does the altered $conf settings not get saved in the database? Since they only apply to logged in users?
Comment #6
mikeytown2 commentedThis setting is not saved in the database. You can save it in the database by running this ONCE
It does set the variable though; variable_get() uses the $conf global.
Comment #7
mikeytown2 commentedGoing to mark this as won't fix; another module does what you need