pluginkollektiv / cachify

Smart but efficient cache solution for WordPress. Use DB, HDD, APC or Memcached for storing your blog pages. Make WordPress faster!
https://wordpress.org/plugins/cachify/
GNU General Public License v2.0
101 stars 32 forks source link

Skip cache if request method not GET #258

Closed florianbrinkmann closed 2 years ago

florianbrinkmann commented 2 years ago

This PR changes the Cachify::_skip_cache() method so that it returns true for all request methods that are not GET. Besides that, it adds a small modification to the .htaccess setup example, that fixes the check for the REQUEST_METHOD. We should add that to the changelog, so that users can modify their .htaccess.

Fixes #200