mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13047
[Bug 1214124] [NEW] Improve stylesheet catching
Public bug reported:
There is no "purge the stylesheet cache" functionality in Mahara. This
lack of functionality prevents stylesheet changes to be seen directly
and generally, users will need to clear their browser cache.
Suggestion from Pace University:
Add a URL parameter for the version of Mahara in which the stylesheet
changes.
So for example, instead of calling
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css">
consider calling the 1.7.1 stylesheet:
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css?v=1_7_1">
and in version 1.8.1 call:
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css?v=1_8_1">
So the stylesheet would be still be named style.css, but the URL
parameter will prevent the browser from using a locally cached version.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1214124
Title:
Improve stylesheet catching
Status in Mahara ePortfolio:
New
Bug description:
There is no "purge the stylesheet cache" functionality in Mahara. This
lack of functionality prevents stylesheet changes to be seen directly
and generally, users will need to clear their browser cache.
Suggestion from Pace University:
Add a URL parameter for the version of Mahara in which the stylesheet
changes.
So for example, instead of calling
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css">
consider calling the 1.7.1 stylesheet:
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css?v=1_7_1">
and in version 1.8.1 call:
<link rel="stylesheet" type="text/css"
href="/theme/raw/static/style/style.css?v=1_8_1">
So the stylesheet would be still be named style.css, but the URL
parameter will prevent the browser from using a locally cached
version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1214124/+subscriptions
Follow ups
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-10-24
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-09-30
-
[Bug 1214124] A change has been merged
From: Mahara Bot, 2013-09-02
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Robert Lyon, 2013-09-02
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Kristina Hoeppner, 2013-08-23
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-08-23
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-08-23
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-08-23
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Robert Lyon, 2013-08-23
-
[Bug 1214124] Re: Improve stylesheet cacheing
From: Aaron Wells, 2013-08-20
-
[Bug 1214124] [NEW] Improve stylesheet catching
From: Kristina Hoeppner, 2013-08-19
References