Closed zkhalapyan closed 12 years ago
What is to prevent one from simply going to a page with ?override={CLASSIFICATION}
set and then downloading the CSS and Javascript?
There are many ways to go around this - I usually use Safari to set the user agent to whatever device I need and then download the generated .CSS, then download all the images, and then use an IDE to replace all the url(img/
to wherever my img folder is located. This is simple for someone that is used to the MWF structure and is aware of the architecture (I didn't even know about the ?override={CLASSIFICATION}
- but for someone who is new (Joe from company Foo) that needs an offline version, it's very hard to go through these steps. Simplifying the process will allow developers to quickly download the CSS version they need and start coding. This is not really a priority, but something that would be quite useful.
The next generation of MWF will get rid of this issue altogether - if this is not a priority, can we just hold off for it instead? If so, please close. If not, then I'll add this to the queue for MWF 1.3.
Although MWF is primarily server side technology, there are many use cases where it would be beneficial to have an offline version of MWF styles and JavaScript. Currently, it's not very simple to extract an offline version of the .css file - it would be nice to have a web tool, that given a specific user-agent, img folder URL, and selection of necessary capabilities, outputs the optimized and plug-and-play 'mwf' folder with all the required files.