Static Content - Implement a static server or CDN in Joomla!
The Static Content plugin allows you to replace the URL to your images or CSS-files with another URL. While you have the responsibility to make sure that this URL is actually serving the same images and CSS-files, this allows for quick integration of static webservers or CDNs in Joomla!.
Software information
| License | GNU/GPL |
| Price | Free |
| Current version | 1.1.0 |
| Current status | Stable |
| Requirements |
PHP 5.2.8 or higher |
| Download |
|
Joomla! custom extension development
Building a Joomla! extension is sometimes better than choosing an existing Joomla! extension. But then, not all programmers are familiar with concepts like singletons, MVC and overrides. Why not hire the experts of Yireo to get the job done quickly, in full compliance with the Joomla! Framework coding standards?
Checkout the details of our Joomla! Extension Development.
Help us build quality extensions
You like our software? Help us by donation
Installation
- To install this plugin, download it from the download-section on this site to your computer.
- Then install the ZIP file from within the Joomla! Administrator as a regular extension.
- Next go to the Plugin Manager to enable this system-plugin. It is listed as "System - Static Content".
- Configure the parameters as needed
Usage
To a minimum you need to configure Unsecure URL for the plugin to do anything useful. This URL has to start with http:// and should host an environment that mirrors your normal Joomla! environment. For instance, if your Joomla! template-images are located here:
http://MYJOOMLA/templates/mytemplate/images
Then your static server should contain the same folder templates/mytemplate/images.
When entering a value under Secure URL, make sure this is a SSL-based URL. Also consider using a trusted SSL-certificate for both the Joomla! site as the static server (or CDN).
Other options allow you to determine which resources should be moved to the static server:
- Images in the images/ folder
- All kinds of content in the media/ folder
- Template images, JavaScript or CSS-files
- Joomla! caching files
- Joomla! includes-folder (containing some core JavaScript files)
There are some things you need to consider when configuring this. For instance, when your static server is on a different domain, JavaScript might not be executed properly because of browser security. Depending on which scripts you try to run where, this might cause issues.
When loading CSS files from the static server, note that you also might need to copy the neccessary image-files. Because the CSS-files will be served from the same directory-structure as within Joomla!, relative path-links will still work.
Note that the option to load Joomla! caching files from a static server, does not include the caching-files used by PHP-files. It only deals with caching-files used by JavaScript or CSS compression techniques. PHP-files are only dealt with by the webserver, outside of the scope of this plugin.
More extensions
MageBridge
MageBridge adds a bridge between the Joomla! CMS and the Magento e-commerce platform - integrating them visually, but also offering many advanced features.
Dynamic404
Whoops, a page not found. But instead of displaying an ugly error, why not help your visitors find the right page? Or even better: Let Joomla! find the right page for you.
HTTP Authentication
Development sites are sometimes hosted on publicly available sites, while access is still unwanted. This plugin allows for HTTP authentication based on Joomla! users.
