phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

<!-- RESOURCE --> template tag

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Re: [RFC] <!-- RESOURCE --> template tag

Postby brunoais » Thu Feb 16, 2012 8:04 pm

^ If we make things so that any changes to the files in the templates require a purge of the cache there's even a better optimization that can be made.
Instead of inserting there the function (or method) like I did, we could just replace all text with the correct path to the file. If that file has disappeared then it requires a purge of the cache. We just need to evaluate if we need that dynamic in every page load (slower, more flexible) or static, the path is saved directly to the file (faster, if the conditions change, it requires a purge of the cache).
brunoais
Registered User
 
Posts: 627
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] <!-- RESOURCE --> template tag

Postby Arty » Sat Feb 18, 2012 4:54 pm

Abandoning this RFC, I have a better idea that I'll post shortly.
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 802
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Previous

Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 8 guests