The tag has no usage guidance.

learn more… | top users | synonyms

7
votes
2answers
1k views

Cache remote (HTTP) request with Transients API

I am trying to use get_transient() method in my Wordpress, I have read the document and seems like I am doing what has been described in the docs. I need to show weather in my website and I am using ...
3
votes
3answers
443 views

Stylesheet switching and caching

I'm implementing a site that allows users to switch stylesheets (to show a high contrast version for people with vision impairments). The switcher essentially just changes the <link>ref to ...
2
votes
2answers
4k views

How to exclude a specific template from being cached by a CDN [closed]

I’m using a specific template on my self-hosted WordPress blog to display a page with randomized posts. Recently, I configured W3 Total Cache to make use of a content delivery network (CDN). When ...
2
votes
2answers
523 views

Transient not working for custom loops

I'm working at a WordPress theme. Since I need to display featured posts, related posts, some widgets with recent posts and so on, I need to use multiple custom loops. Because of this, the number of ...
2
votes
1answer
78 views

Is priming a Transient Cache possible?

I'm currently using Wordpress Transient Caching when querying images I've uploaded and tagged. Using Transient Caching has really sped up these queries once they are cached, but unfortunately, once ...