Page Speed Optimization Libraries
1.11.33.2
|
TODO(sligocki): Find a way to forward declare FileSystem::InputFile.
TODO(skerner): #include image_spriter.pb.h is needed to allow use of enum ImageFormat. Break this dependency and remove the include.
TODO(huibao): Move LibpngImageLibrary to pagespeed/kernel/image/. Refactor LibpngImageLibrary. This class can be split into 3 parts: reader, writer, and canvas creater. The first two parts can be merged with png_optimizer.cc and png_optimizer.h.
TODO (stevensr): This script does not handle flush windows in the body.
TODO (stevensr): It would be nice to tweak the table-xform behavior via options. Also, there has been mention that removing tables across flush windows could be problematic. This should be addressed at some point.
TODO (stevensr): Enable this filter only for mobile UAs, and have a query param option to turn it on for all UAs for debugging.
TODO (stevensr): Write pcache entry if rewriting page fails. We should then probably inject some JS to auto-refresh the page so the user does not see the badly rewritten result.
TODO (stevensr): Add a separate wildcard option to allow/disallow URLs from using this filter. Of course sites can use our existing Allow and Disallow directives but that turns off all optimizations, and this one is one that might be extra finicky (e.g. don't touch my admin pages).
TODO (stevensr): Turn on css_move_to_head_filter.cc to reorder elements we inject into the head.
TODO(ksimbili): Refactor out the common base class to serve the static files of type css, images or html etc.
TODO(xqyin): Refactor out StaticAssetManager to have shared infrastructure used by both RewriteStaticAssetManager and SystemStaticAssetManager. Now the JS files in system/ are done directly in AdminSite.
TODO(sligocki): GoogleString -> GoogleUrl or at least StringPiece.
TODO(sligocki): Include the URL in the fetch, like the request headers.