[FIX] doc: guides section was removed, move CDN to reference

This commit is contained in:
Xavier Morel
2014-11-06 11:42:02 +01:00
parent 812c257094
commit 4bc8f086af
9 changed files with 20 additions and 13 deletions
+1
View File
@@ -20,3 +20,4 @@ Reference
reference/reports
reference/workflows
reference/cdn
@@ -1,11 +1,15 @@
.. _keycdn-setup:
========================================
Deploying with Content Delivery Networks
========================================
How to use KeyCDN with Odoo
===========================
.. _reference/cdn/keycdn:
Deploying with KeyCDN_
======================
.. sectionauthor:: Fabien Meghazi
This document will guide you through the setup of a KeyCDN account with your
This document will guide you through the setup of a KeyCDN_ account with your
Odoo powered website.
Step 1: Create a pull zone in the KeyCDN dashboard
@@ -14,8 +18,8 @@ Step 1: Create a pull zone in the KeyCDN dashboard
.. image:: cdn/keycdn_create_a_pull_zone.png
:class: img-responsive
When creating the zone, enable the CORS option in the `advanced features`
submenu. (more on that later)
When creating the zone, enable the CORS option in the
:guilabel:`advanced features` submenu. (more on that later)
.. image:: cdn/keycdn_enable_CORS.png
:class: img-responsive
@@ -25,21 +29,21 @@ Once done, you'll have to wait a bit while KeyCDN is crawling your website.
.. image:: cdn/keycdn_progressbar.png
:class: img-responsive
Note that an URL has been generated for your Zone.
In this test case, the URL is `http://pulltest-b49.kxcdn.com`.
.. note:: a new URL has been generated for your Zone, in this case it is
``http://pulltest-b49.kxcdn.com``
Step 2: Configure the odoo instance with your zone
--------------------------------------------------
In the Odoo back end, go to the `Website Settings` menu, then activate the CDN
support and copy/paste your zone URL in the `CDN Base URL` field.
In the Odoo back end, go to the :guilabel:`Website Settings`: menu, then
activate the CDN support and copy/paste your zone URL in the
:guilabel:`CDN Base URL` field.
.. image:: cdn/odoo_cdn_base_url.png
:class: img-responsive
Now your website is using the CDN for the resources matching the `CDN filters`
regular expressions.
Now your website is using the CDN for the resources matching the
:guilabel:`CDN filters` regular expressions.
You can have a look to the HTML of your website in order to check if the CDN
integration is properly working.
@@ -71,3 +75,5 @@ A security error message will also appear in the browser's console:
:class: img-responsive
Enabling the CORS option in the CDN fixes this issue.
.. _KeyCDN: https://www.keycdn.com

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB