We affectionately refer to our template caching system as “AutoMagiCache”. It's a whole mess of very exciting regular expressions that will automatically pull in a page from your server, rewrite and cache your paths and images, and store it on our server.
*.jpg, *.png, *.gif) to use FoxyCart image caching.// with \/\/ when not preceded by a space or line break.</ with <\/.<img> paths to use FoxyCart image caching.<a> paths to point to the correct locations.<form> actions to point to correct locations.src=“foo/bar” or src='foo/bar'.swf file, there's no good way to ensure that additional necessary files (like xml, flv, etc.) are cached along with the swf file itself.../foo/bar.ext) more than one level deep are not supported. ../foo/bar.ext will work, but ../../foo/bar.ext will not. If you have a legitimate need for more than one level deep, let us know.@IMPORT rules more than one level deep are not supported. An import will work just fine, but an import inside an import won't be cached. If you have a legitimate need for more than one level deep, let us know.For some reason, Firefox and Internet Explorer create problems when you have the ampersand (”&”) character inside of code comments:
<!--
Some text & more
-->
If you rely on conditional comments for Internet Explorer, and inside of those conditional comments you have ampersands, you'll need to use a very specific syntax to include your comments, detailed at Wellstyled.com. The important piece to notice is the We're still figuring this out.
<!–>, which needs to be included or you'll run into problems with the & being replaced by & every time you save your template.
The following placeholders will be replaced with “spaced” placeholders in cached CSS and JS, to prevent problems with parsing placeholders that shouldn't be parsed.
^^cart^^ → ^^ cart ^^^^checkout^^ → ^^ checkout ^^^^receipt^^ → ^^ receipt ^^^^analytics_google^^ → ^^ analytics_google ^^