Hello,
It would be very useful to use mod_pagespeed to do it's cache extending magic
on swf files. We have a large swf application which we would like to host on
our cdn to improve performance, but managing the cache invalidation of the app
has proved to be a major headache.
Random thoughts on implementation
- swf files can be treated as images in terms of using the md5 checksum to come
up with a new leaf filename. Best to avoid dealing with flex modules or any
bytecode alaterations.
- when writing a html parser to detect a swf url that should be optimized using
cache-extension, the natural place to focus is the standard adobe template that
uses swfobject.js. There are predictable best practice regular patterns here
that could be recognized and rewritten. see
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf663fe-7fff
.html and http://code.google.com/p/swfobject/
- if swf actionscript application code itself uses the filename of itself for
any internal logic, then it will fail. Acceptable limitation because this is
not a standard usecase.
Original issue reported on code.google.com by jon.mars...@englishcentral.com on 9 Jul 2012 at 5:06
Original issue reported on code.google.com by
jon.mars...@englishcentral.com
on 9 Jul 2012 at 5:06