Title: HTTP2 Server Push with CDN
Last modified: March 30, 2017

---

# HTTP2 Server Push with CDN

 *  [bfsworks](https://wordpress.org/support/users/bfsworks/)
 * (@bfsworks)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-with-cdn/)
 * We noticed that when enabling the HTTP2 server push while using a CDN that the
   Push URL’s have the server’s domain and not the CDN’s domain. I am fairly certain
   that you can Push URL’s from a different domain such as a CDN. I am thinking 
   the problem is that the plugin does no know what the CDN domain is as this is
   handled by another plugin. A work around may be to add a field in your plugin
   to enter in a CDN domain so when the HTTP2 Push URL’s are written they rewrite
   the string to use the provided CDN domain. If I was a little better at programming
   I would try to provide a patch.

Viewing 1 replies (of 1 total)

 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-with-cdn/#post-8976535)
 * Have you tried using the MMR constants for this? They should make this possible…
 * Version 1.6.9 added the ability to specify the cache directory. Set MMR_CACHE_DIR&
   MMR_CACHE_URL constants in wp-config.php. MMR_CACHE_DIR must be full server path
   and MMR_CACHE_URL must be absolute URL for this to work correctly.

Viewing 1 replies (of 1 total)

The topic ‘HTTP2 Server Push with CDN’ is closed to new replies.

 * ![](https://ps.w.org/merge-minify-refresh/assets/icon.svg?rev=3414776)
 * [Merge + Minify + Refresh](https://wordpress.org/plugins/merge-minify-refresh/)
 * [Support Threads](https://wordpress.org/support/plugin/merge-minify-refresh/)
 * [Active Topics](https://wordpress.org/support/plugin/merge-minify-refresh/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/merge-minify-refresh/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/merge-minify-refresh/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-with-cdn/#post-8976535)
 * Status: not resolved