Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] caching XML

  • I’m working on a couple of sites – one will output to XML with an XLS style sheet attached, and the other will be used to output custom XML – I would like to use WP-Super-Cache, but is there a way to have it save XML files and serve the correct mime-type from the cache?

    I’d guess I need to set something to have WP-Super-Cache save .xml files instead of .html and possibly mods to the .htaccess code. Unless there is already support for .xml.

    All help is appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    It’ll probably work but they’ll be cached using “legacy caching” because that stores the headers. Make sure that is_feed() returns true when these XML pages are served or it won’t work.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] caching XML’ is closed to new replies.