|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
wserg Smarty n00b
Joined: 31 Jan 2006 Posts: 1
|
Posted: Tue Jan 31, 2006 7:34 am Post subject: pragma: no-cache |
|
|
Добрый день всем.
Вопрос начинающего: мне нужно запретить кеширование страниц на стороне браузера. Понятно, сделать это можно с помощью header('pragma: no-cache'); и еще нескольких других header();
Но вот как сказать smarty чтобы он перед отправкой страницы автоматически вставлял нужную мне последовательность header? _________________ best regards,
wserg |
|
Back to top |
|
b166-er Smarty Rookie
Joined: 22 Oct 2004 Posts: 29 Location: Germany, Wiesbaden
|
Posted: Mon Feb 13, 2006 8:45 pm Post subject: |
|
|
??????,
??? ????? ??????: ?????! ??? ?? ??????? ?? ??????, ??? ???????? ? ????? php-script...
?????, header() ?????? ?????: $smarty->display();
? template ????? ??? ???? <meta... ????????, ???? ??? ???? pragma-no cache... ????? ? ?????...
________
SIXTH-GENERATION FORD TAURUS SPECIFICATIONS
Last edited by b166-er on Sun Feb 13, 2011 6:19 pm; edited 1 time in total |
|
Back to top |
|
kost Smarty Rookie
Joined: 24 Jan 2006 Posts: 33 Location: Kiev, Ukraine
|
|
Back to top |
|
b166-er Smarty Rookie
Joined: 22 Oct 2004 Posts: 29 Location: Germany, Wiesbaden
|
Posted: Thu Feb 23, 2006 9:38 pm Post subject: |
|
|
???? ?????.
????????? ?? ??? ??????????? ?????,
?????? ??? ?????? ?????????? ?????? HeaderClass... ? ?????? ????? ??? ????? ????? Smarty. ?? ????? ??????, Smarty ????? ??????????? ?????? ??? output ?? template's, ? ???????? ?????? ???????? / ?????? ?????? ???????... ????? ????? ??????? ??????? ? ?????? ????? OO,
?.?. God-Class ??? ?? ??-?????
???? ???? ????? prefilter ??? ??????, ????? ?????, ???????? ???? ??? ????? ?????? ????? ???? ???? ???????...
________
FORD CROWN VICTORIA POLICE INTERCEPTOR HISTORY
Last edited by b166-er on Sun Feb 13, 2011 6:20 pm; edited 1 time in total |
|
Back to top |
|
kost Smarty Rookie
Joined: 24 Jan 2006 Posts: 33 Location: Kiev, Ukraine
|
Posted: Sat Feb 25, 2006 2:07 pm Post subject: |
|
|
Согласен. Так делать СОВСЕМ не стоит. А то мало-ли, "Headers already sent" будут посылаться из-за какого-то print "OK" вначале скрипта. Это не есть гуд))) _________________ [ru]
http://phpstones.blogspot.com |
|
Back to top |
|
extra74 Smarty n00b
Joined: 20 Apr 2008 Posts: 3
|
|
Back to top |
|
numberten Smarty Rookie
Joined: 06 May 2009 Posts: 6
|
Posted: Wed May 06, 2009 10:54 am Post subject: |
|
|
Что значит никак? А префильтры? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|