Caches the parsed version of the specified CSS snippet. We key the cache based on CSS snippets (rather than requests and responses as is done above) because a) this allows us to cache inline CSS, b) CSS is extremely expensive to parse, so we want to avoid it as much as possible, c) CSS files aren't usually nearly as large as JavaScript files, so memory bloat won't be too bad, and d) caching on requests and responses requires checking dynamicity (see {@link #isDynamicContent(WebResponse)}), and headers often aren't set up correctly, disallowing caching when in fact it should be allowed.
@param css the CSS snippet from which styleSheet is derived
@param styleSheet the parsed version of css
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.