Closed (fixed)
Project:
AdvAgg Sandbox
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2013 at 03:36 UTC
Updated:
27 Mar 2013 at 00:00 UTC
Jump to comment: Most recent file
First steps have been done.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/f51e166d...
New file format uses 3 hashes instead of 1.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | advagg_d7_sandbox-1927578-2-fix-spelling.patch | 10.18 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedhttp://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/9a7bae90...
Steps before official dev release
- More work in the readme file.
- Change atime cache so it's an array.
- Profile code.
- Convert db_query to db_select in advagg_variable_get_db().
- Force change counter/button for CDNs.
- Test disable/uninstall.
- Spell check code.
- Better variable names.
Steps before alpha release
- Get sub modules working.
- Get drush working.
- Get httprl integration and fallback working.
- CDN testing.
- Get requirements tests working.
- Use new formapi JS settings.
Comment #2
mikeytown2 commentedFollowing patch has been committed. Fixes spelling errors.
Comment #3
mikeytown2 commentedatime cache is now an array
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/0c11a153...
Comment #4
mikeytown2 commentedall db_query() calls have been upgraded to db_select http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/c1cba1f8...
Comment #5
mikeytown2 commentedSome variables have been renamed
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/84f04ddd...
Comment #6
mikeytown2 commentedAdmin page has had some tweaks done. Added in counter as well.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/f63df5c3...
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/f339394b...
Comment #7
mikeytown2 commentedNow using new formapi JS settings (#attached)
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/9d0bc733...
Comment #8
mikeytown2 commentedWhats left to do before work on submodules can begin.
- Drush (alternatives to admin button functions).
- Requirements tests (make sure thing are as we expect).
- Optional HTTPRL integration and fallback.
- Remove stale files on cron.
- Remove dead aggregates/files from database.
Can be done at the same time as submodule development.
- Profile code.
- CDN testing.
Get the bundler submodule working first as I went from 2 db tables to 3 thus the magic query will need some work... other modules should be super easy; if not refactor hooks so they become super easy. Look into adding a way to inline all css/js on landing pages as a new submodule.
Comment #9
mikeytown2 commentedNew table layout should work with the bundler. The unoptimized query is below
Will be working on the optimized version.
Comment #10
mikeytown2 commentedOptimized version below. Query is at least 10x faster with the same output
Comment #11
mikeytown2 commentedAdded in atime and linecount. http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/8ed6ceb5...
Comment #12
mikeytown2 commentedadded new file for cache flush operations.
created 2 more functions to be used in cron.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/df106de1...
Comment #13
mikeytown2 commentedWhats left to do before work on submodules can begin.
- Drush (alternatives to admin button functions).
- Requirements tests (make sure things are as we expect).
- Optional HTTPRL integration and fallback.
Can be done at the same time as submodule development.
- Profile code.
- CDN testing.
Note that the bundler logic will work with the new table layout.
Comment #14
mikeytown2 commentedDrush commands added in
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/0a4af94e...
Comment #15
mikeytown2 commentedMoved buttons to the operations tab on admin page
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/b6b5b9b1...
Comment #16
mikeytown2 commentedRequirement checks are now in place
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/3fde15d8...
Comment #17
mikeytown2 commentedRemove debug line
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/54dd4afb...
Fix coder warning and gzip test
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/05e895fb...
Comment #18
mikeytown2 commentedhttprl done. no fallback coded.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/34391a8e...
Comment #19
mikeytown2 commentedfallback coded
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/b09cc6a7...
Comment #20
mikeytown2 commentedSubmodules to create:
- bundler
- css compression
- js compression
- css cdn
- js cdn
- js footer (move js from header to footer)
- landing page inliner (inline all CSS and JS for faster loading of that one page)
Comment #21
mikeytown2 commentedjs cdn
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/5b38556c...
css cdn
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/e9c48bf9...
Comment #22
mikeytown2 commentedfix cache bug and work around core bug.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/e8944118...
Link to core bug
http://drupal.org/node/1937860
Documented core issue
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/1099d2fb...
Comment #23
mikeytown2 commentedCSS/JS compression modules have been added
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/909bdcb9...
They will need httprl in order to do compression testing (not written). Also need to cache compressed js in cache. Will need to think about inline compression as well...
Comment #24
mikeytown2 commentedSubmodules to create:
- bundler (almost done on local box)
- js footer (move js from header to footer)
- landing page inliner/optimizer (inline all CSS and JS for faster loading of that one page AND/OR create a big bundle)
Will need to test:
http://drupal.org/project/jquery_update
http://drupal.org/project/css_emimage
http://drupal.org/project/cdn
http://drupal.org/project/labjs
http://drupal.org/project/headjs
Comment #25
mikeytown2 commentedBundler added.
http://drupalcode.org/sandbox/mikeytown2/1917800.git/commitdiff/86b00a87...
Comment #26
mikeytown2 commentedWill replace current 2.x branch with what I have here.
Comment #27
mikeytown2 commentedMerge is done. Closing this issue.