After investigating #511876: how to support onmouse over json requests? the content type that is returned on a JSON AJAX request is text/javascript. This could be cached... add the boost footer to it with /* */ style comments. Is caching AJAX something that people would use? It would use the .js rewrite rules since that returns the type text/javascript.

CommentFileSizeAuthor
#3 boost-512298.patch6.24 KBmikeytown2
#1 boost-512298.patch7.66 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Status: Active » Needs review
FileSize
7.66 KB

added JSON as well as the option to turn off normal boost page caching.

mikeytown2’s picture

Status: Needs review » Fixed

committed

mikeytown2’s picture

Status: Fixed » Needs review
FileSize
6.24 KB

Set expiration time for the 3 different kinds of content boost can now cache (HTML, XML, JSON/AJAX).

mikeytown2’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.