crowell / modpagespeed_tmp

Automatically exported from code.google.com/p/modpagespeed
Apache License 2.0
0 stars 0 forks source link

setting 'unplugged' mode should strip-mine as much memory as possible from RewriteOptions #714

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently we have some moderately heavy data structures in RewriteOptions which 
are not needed for unplugged options.

Note that when we are merging from an unplugged RewriteOptions the resultant 
RewriteOptions is also unplugged by definition; you can't override "unplugged" 
via query-params or .htaccess etc.

In theory we could just null out and delete all pointed-to objects when setting 
'unplugged'.

Original issue reported on code.google.com by jmara...@google.com on 30 May 2013 at 7:01