Static content

Bug #728153 reported by Greg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Released
Wishlist
TitanKing

Bug Description

Heavy duty sites usually offer two servers: a PHP server for dynamic content and a fast static server (or CDN) for static content. We should add an option to the themes to support that.

Greg (gregfr)
Changed in phpdevshell:
assignee: nobody → TitanKing (titan-phpdevshell)
Revision history for this message
Greg (gregfr) wrote :

Here's my idea:

-> have an option "static root" which will be a url such as "http://static.phpdevshell.org/content/"

-> in the distribution provide two folders: one with various non optimized js/css/png, one with optimized/minimized/gathered files

-> if "static root" is empty, include various non optimized js/css/png like we currently do (helps debugging)

-> is "static root" is not empty, use the optimized files from the static root

-> in debug mode, default install is ok

-> in normal mode, just use the server root as the static root

-> in optimized mode, use another server as the static root

Revision history for this message
Greg (gregfr) wrote :

This has been mostly done, so I changed it to "fix commited"

Changed in phpdevshell:
status: New → 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.