• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Archives for cache

cache

Genesis Child Theme Load style.css with Version Number

Last updated on January 31, 2019 by Sal Ferrarello

How to get your Genesis Child Theme to load style.css with a cache busting ver URL parameter based on the version defined in the header of style.css.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Draft, Programming, Solution Tagged With: cache, CSS, Genesis, WordPress Theme

Gravity Forms Default Value and Caching

Last updated on September 17, 2018 by Sal Ferrarello

I’m a big fan of the Gravity Forms Form builder WordPress plugin. I came across an interesting issue on a project where I was using the default value functionality and I wanted to make some notes as a warning for others (and myself) in the future.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: cache, Gravity Forms, WordPress Plugin

Washing a Fork in the Sink

Delete Transients on Plugin Deactivation

Last updated on September 12, 2017 by Sal Ferrarello

When I was a child, my mother often reminded me to clean up after myself. While I’m pretty sure she was talking about the kitchen, this is great advice for plugin authors as well. When someone deactivates your plugin, it is good form to remove anything you added to the database. The most common place […]

Filed Under: Computing, Dev Tips, Programming Tagged With: cache, WordPress Plugin

A finger with a string tied around it

WordPress Transients

Last updated on September 12, 2017 by Sal Ferrarello

WordPress transients, like most things in programming, are about being lazy. Unfortunately, in this case it isn’t about making the programmers life easier but rather about making the web server’s life easier (and the people who maintain and pay for the web server). Jump to Resources What is the temperature outside? When someone asks what […]

Filed Under: Programming Tagged With: cache, transient, WordPress

WordPress Shortcode WP_Query

Last updated on February 25, 2015 by Sal Ferrarello

When doing development, I sometimes find I need a custom shortcode which performs a WP_Query. To reduce the load time of this shortcode, you can cache the result using a transient. Sometimes developers choose to cache the query result and generate the markup each time the shortcode is called. I prefer to cache the final […]

Filed Under: Programming Tagged With: cache, shortcode, WordPress

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in