Here you can find code that I have written during my journeys through the intarwebs. Hopefully, people other than myself will find the code useful.
I am very much an amateur programmer. Please let me know if you improve on the code here in any way. Thanks!
Conditional GET PHP function
Zenphoto plugin: HTTP Cache Control
Zenphoto plugin: Link Prefetching Hints
Zenphoto plugin: Static Cache Control
If you liked this post, please subscribe to my feed. Thanks for visiting!
I just came across disturbing “reports” of WP Super Cache being vulnerable to cross-site scripting code injection attacks. Just to be safe, I’ve disabled WP Super Cache and reverted to WP Cache v2.1.2 until the issue is resolved. Donncha is very responsive so I’m sure this scare will be behind us very soon.
Sources:
Donncha’s Thursday Links
wp-super-cache cached too far for me (and others)
wp-super-cache vulnerable to PHP Injection?
Caching is one of the most effective methods to reduce server load and improve load times on a WordPress site. There are two commonly cited caching methods one can utilize. Surprisingly, most guides recommending caching methods to improve WP performance do not mention the significant drawbacks. In fact, many common “guides” for increasing WP performance with caching and gzip compression may instead decrease your site’s performance. Continue reading ‘WordPress caching woes’