Add CDN options

Bug #415305 reported by Eduardo Ramírez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autoptimize
Fix Released
Wishlist
Unassigned

Bug Description

Using other CDN WP plugins is usually incompatible with this kind of optimizations. By adding options to set a different domain(s) for CSS, JS and Images, Autoptimize could further speed up the page rendering time. (E.g. subdomains that point to the same WP directory)

Revision history for this message
Emilio (turl) wrote :

So, offering the user an option to use "subdomain.site.com" instead of "site.com" for the CSS and Javascript code should suffice, right? Or do we need several subdomains, one for javascript, one for CSS, etc?

By the way, can you show me CDN WP plugins? I couldn't find any to get inspiration from.

Changed in autoptimize:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → Emilio (turl)
Revision history for this message
Eduardo Ramírez (edu-kynes) wrote :

To offer better control I would prefer being able to choose a different domain for every type of content, letting the user choose if it's a full different domain or a subdomain.

For inspiration you can look at:

My CDN: http://wordpress.org/extend/plugins/my-cdn/
W3 Total Cache: http://wordpress.org/extend/plugins/w3-total-cache/

My CDN is a great example of what the options page could look like, but W3 Total Cache seams like a good code example.

Revision history for this message
Emilio (turl) wrote :

Just noticed, W3 Total Cache is like Autoptimize :P

I'm working on this feature just now :)

Changed in autoptimize:
status: Confirmed → In Progress
Revision history for this message
Eduardo Ramírez (edu-kynes) wrote :

W3 Total Cache is like Autoptimize, but uses APC or Memcache, and if you can't use them it's pretty much useless.

Emilio (turl)
Changed in autoptimize:
assignee: Emilio (turl) → nobody
status: In Progress → Fix Committed
Revision history for this message
Emilio (turl) wrote :

This is out in Autoptimize 1.1! :)

Changed in autoptimize:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.