You are here

README.txt in Views Ajax Get 8

Same filename and directory in other branches
  1. 7 README.txt
  2. 2.0.x README.txt
CONTENTS OF THIS FILE
---------------------
 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Maintainers


INTRODUCTION
------------

This module will make your ajax-enabled Views, use GET instead of POST.

Why?
Because GET is much better for caching. If you're using something like Varnish,
or Boost, these (by default) will not store POST requests (and so they
shouldn't).

Views uses the Drupal Ajax framework. This by default uses POST.
While a lot of Ajax inside of Drupal requires POST (think the Views UI, for
example), a view itself doesn't. If you disable Ajax on a View, it will use
GET anyway.

How?
This module overrides a core Drupal Ajax JavaScript function (this is sometimes
referred to as monkey-patching).

Note:
Drupal sends additional data in the POST request about the current page state.
This includes a list of all the libraries included on the current page.
Because of the size this can make the request can be too large when using GET,
they are not included when using a GET request.


REQUIREMENTS
------------

This module requires no modules outside of Drupal core.


INSTALLATION
------------

Install the Views Ajax Get module as you would normally install a contributed
Drupal module. Visit https://www.drupal.org/node/1897420 for further
information.


CONFIGURATION
-------------
 * Once this module is enabled, enable the Views ajax get display extender
   (Home >> Administration >> Structure >> Views >> Views settings >>
   Advanced Views settings).
 * Enable on each view by editing the "Use AJAX" setting, and enabling GET.


MAINTAINERS
-----------

Current maintainers:
 * Leon Kessler (leon.nk) - http://drupal.org/user/595374

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Maintainers
  8. INTRODUCTION
  9. ------------
  10. This module will make your ajax-enabled Views, use GET instead of POST.
  11. Why?
  12. Because GET is much better for caching. If you're using something like Varnish,
  13. or Boost, these (by default) will not store POST requests (and so they
  14. shouldn't).
  15. Views uses the Drupal Ajax framework. This by default uses POST.
  16. While a lot of Ajax inside of Drupal requires POST (think the Views UI, for
  17. example), a view itself doesn't. If you disable Ajax on a View, it will use
  18. GET anyway.
  19. How?
  20. This module overrides a core Drupal Ajax JavaScript function (this is sometimes
  21. referred to as monkey-patching).
  22. Note:
  23. Drupal sends additional data in the POST request about the current page state.
  24. This includes a list of all the libraries included on the current page.
  25. Because of the size this can make the request can be too large when using GET,
  26. they are not included when using a GET request.
  27. REQUIREMENTS
  28. ------------
  29. This module requires no modules outside of Drupal core.
  30. INSTALLATION
  31. ------------
  32. Install the Views Ajax Get module as you would normally install a contributed
  33. Drupal module. Visit https://www.drupal.org/node/1897420 for further
  34. information.
  35. CONFIGURATION
  36. -------------
  37. * Once this module is enabled, enable the Views ajax get display extender
  38. (Home >> Administration >> Structure >> Views >> Views settings >>
  39. Advanced Views settings).
  40. * Enable on each view by editing the "Use AJAX" setting, and enabling GET.
  41. MAINTAINERS
  42. -----------
  43. Current maintainers:
  44. * Leon Kessler (leon.nk) - http://drupal.org/user/595374