Caching of JS files

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
User avatar
master412160
Registered User
Posts: 314
Joined: Sat May 22, 2010 5:45 pm
Name: Max Pen

Caching of JS files

Post by master412160 »

Does phpbb handle the caching of JS files well by simply adding ?assets_version={T_ASSETS_VERSION} to the end of the script.js file when you reference it in the template?

Or should I use an other caching solution that handles the caching of JS script files that I add on my own?
Regards, Matt.
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: Caching of JS files

Post by Arty »

phpBB doesn't and can't do anything about that. It only links to files. Files are served by web server without phpBB.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Caching of JS files

Post by Dragosvr92 »

But it is able to store html template data. I think it was discussed about a different caching of css styes.
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3
User avatar
master412160
Registered User
Posts: 314
Joined: Sat May 22, 2010 5:45 pm
Name: Max Pen

Re: Caching of JS files

Post by master412160 »

Dragosvr92 wrote:But it is able to store html template data. I think it was discussed about a different caching of css styes.
So it means I should come up with a caching solution of my own? I know of a jquery plugin that does this.
Regards, Matt.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22634
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Caching of JS files

Post by Mick »

Any particular reason?
"The more connected we get the more alone we become" - Kyle Broflovski©
Locked

Return to “[3.0.x] Styles Support & Discussion”