Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | boost-512298.patch | 6.24 KB | mikeytown2 |
#1 | boost-512298.patch | 7.66 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedadded JSON as well as the option to turn off normal boost page caching.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedSet expiration time for the 3 different kinds of content boost can now cache (HTML, XML, JSON/AJAX).
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted