Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cwp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
cwp
cwp
Commits
8f2aaf5b
Commit
8f2aaf5b
authored
Jul 10, 2017
by
Ingo Schommer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed link formats in performance guide docs
parent
b5935b56
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
docs/en/03_How_tos/caching.md
docs/en/03_How_tos/caching.md
+1
-1
docs/en/04_Performance_Guide/01_Caching.md
docs/en/04_Performance_Guide/01_Caching.md
+5
-5
docs/en/04_Performance_Guide/02_HTTP_Caching.md
docs/en/04_Performance_Guide/02_HTTP_Caching.md
+1
-1
docs/en/04_Performance_Guide/03_Deferring_Work.md
docs/en/04_Performance_Guide/03_Deferring_Work.md
+1
-1
docs/en/04_Performance_Guide/04_Frontend_Best_Practices.md
docs/en/04_Performance_Guide/04_Frontend_Best_Practices.md
+2
-2
No files found.
docs/en/03_How_tos/caching.md
View file @
8f2aaf5b
title: Caching
summary: Improve the performance of your CWP Website
Please refer to our
[
Performance Guide
](
../performance
-
guide
)
.
Please refer to our
[
Performance Guide
](
../performance
_
guide
)
.
docs/en/04_Performance_Guide/01_Caching.md
View file @
8f2aaf5b
...
...
@@ -19,7 +19,7 @@ In SilverStripe there are several patterns that are used frequently that are qui
*
Using (potentially large) relation getters on
`DataObject`
(has_many and many_many)
*
Nesting relation getters within loops on large
`DataList`
collections
*
Using expensive SQL join operations
*
Network calls to third party services (see
[
Deferring Work
](
deferring
-
work
)
)
*
Network calls to third party services (see
[
Deferring Work
](
deferring
_
work
)
)
*
Frequent filesystem access
We'll describe common caching approaches below. You'll want to apply a layered approach to
...
...
@@ -28,11 +28,11 @@ caching to get the best results, and combine multiple approaches.
## HTTP Caching in the browser
The fastest server request is one that's never made.
With the correct use of
[
HTTP Caching
](
http
-
caching
)
, resources can be stored by browsers for a defined amount of time.
With the correct use of
[
HTTP Caching
](
http
_
caching
)
, resources can be stored by browsers for a defined amount of time.
This applies both to "static" resources likes images and JavaScript files, as well as dynamic requests coming from SilverStripe.
Client-side caching will reduce load on your site as well as loading times for your end users.
Read more about
[
Frontend Performance Best Practices
](
frontend
-best-
practices
)
in our CWP Performance Guide.
Read more about
[
Frontend Performance Best Practices
](
frontend
_best_
practices
)
in our CWP Performance Guide.
## HTTP Caching on the server
...
...
@@ -42,7 +42,7 @@ If your site serves the same content to all visitors, this is the easiest way to
You can only cache a full response, so this approach isn't suitable for granular caching strategies
or personalised content.
Read more about
[
HTTP Caching
](
http
-
caching
)
in our CWP Performance Guide.
Read more about
[
HTTP Caching
](
http
_
caching
)
in our CWP Performance Guide.
## Object Caching with SS_Cache
...
...
@@ -149,4 +149,4 @@ module as well as [markguinn/silverstripe-livepub](https://github.com/markguinn/
## Next
Continue to our performance guide on
[
HTTP Caching
](
http
-
caching
)
Continue to our performance guide on
[
HTTP Caching
](
http
_
caching
)
docs/en/04_Performance_Guide/02_HTTP_Caching.md
View file @
8f2aaf5b
...
...
@@ -245,4 +245,4 @@ Since SSL traffic is terminated before it hits CWP's Local Cache layer, you can
## Next
Continue to our performance guide on
[
Deferring Work
](
deferring
-
work
)
Continue to our performance guide on
[
Deferring Work
](
deferring
_
work
)
docs/en/04_Performance_Guide/03_Deferring_Work.md
View file @
8f2aaf5b
...
...
@@ -58,4 +58,4 @@ sustain higher amounts of simultaneous users.
## Next
Continue to our performance guide on
[
Frontend Best Practices
](
frontend
-best-
practices
)
.
Continue to our performance guide on
[
Frontend Best Practices
](
frontend
_best_
practices
)
.
docs/en/04_Performance_Guide/04_Frontend_Best_Practices.md
View file @
8f2aaf5b
...
...
@@ -15,7 +15,7 @@ will focus on a few that will have the most use on the CWP environments.
Firstly though, it is important to know what is already being done. Incapsula, as well as being a Web Application
Firewall, provides CWP sites with a Content Distribution Network (CDN). This means that some requests can be served by
Incapsula, rather than using server processing power. Read the
[
"HTTP Caching" chapter
](
http
-
caching
)
for details.
Incapsula, rather than using server processing power. Read the
[
"HTTP Caching" chapter
](
http
_
caching
)
for details.
One of the other benefits of Incapsula is that it provides content optimisation, which CWP sites will use by default.
This includes:
...
...
@@ -76,4 +76,4 @@ For more information on optimising your third-party integrations, see [our guide
## Next
Continue to our performance guide on
[
Handling Third Parties
](
third
-
parties
)
.
Continue to our performance guide on
[
Handling Third Parties
](
third
_
parties
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment