English 中文(简体)
更好的网络服务对策
原标题:better way of caching webservice responses

My application heavily uses webservices and doesn t use database atall. there is a webservice layer which gets data from database and sends it to php UI. so the phpUI doesn t directly interact with the databases. I want to improve the performance of this application what is a better approach to improve the performance? should I use memcached and cache control headers or is there any other way to implement the caching to improve the performance? I want a way to reduce my Http requests to webservices

问题回答

由于你使用“网络服务”这一术语,我假定你正在将吉大港山区作为运输层。 如果你在网上服务中使用教育、科学和技术的架构,你们都需要一个标准http://caching proxy in-between You apps and the services。

我建议你尽可能使用网服务器,如 n或灯光。 它们规模越快,更容易混淆。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签